[tests] remove unused file depending on CGI.pm

lighttpd tests do not depend on CGI.pm.

remove *unused* file tests/docroot/www/404.fcgi
which used CGI::Fast, which depends on CGI.pm.
This commit is contained in:
Glenn Strauss 2017-01-22 10:54:06 -05:00
parent 0f9b9242d8
commit 739ccb5de0
2 changed files with 0 additions and 28 deletions

View File

@ -1,27 +0,0 @@
#!/usr/bin/env perl
use CGI::Fast qw(:standard);
while (new CGI::Fast) {
my $request_uri = $ENV{'REQUEST_URI'};
print (STDERR "REQUEST_URI: $request_uri\n");
if ($request_uri =~ m/^\/dynamic\/200\// ) {
print header ( -status => 200,
-type => 'text/plain' );
print ("found here\n");
}
elsif ($request_uri =~ m|^/dynamic/302/| ) {
print header( -status=>302,
-location => 'http://www.example.org/');
}
elsif ($request_uri =~ m/^\/dynamic\/404\// ) {
print header ( -status => 404
-type => 'text/plain' );
print ("Not found here\n");
}
else {
print header ( -status => 500,
-type => 'text/plain');
print ("huh\n");
};
};

View File

@ -1,5 +1,4 @@
EXTRA_DIST=\
404.fcgi \
404.html \
404.pl \
cgi-pathinfo.pl \