diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-08-25 21:57:42 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-09-08 15:06:07 -0400 |
commit | ca2898f67896be77d4556c85a536975319a99dee (patch) | |
tree | a16f8896e23536fb72d3341204aed0fc63278e92 /tests/request.t | |
parent | 7a21b3856e30d307934a286c2b70aa9455820e68 (diff) | |
download | lighttpd-git-ca2898f67896be77d4556c85a536975319a99dee.tar.gz |
[tests] t/test_mod_indexfile
also remove some now-redundant tests from request.t
and reduce scripts and directories under tests
(because automake is sloooow and the fewer dirs, the better)
Diffstat (limited to 'tests/request.t')
-rwxr-xr-x | tests/request.t | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/tests/request.t b/tests/request.t index 30bc303f..1ed279db 100755 --- a/tests/request.t +++ b/tests/request.t @@ -8,7 +8,7 @@ BEGIN { use strict; use IO::Socket; -use Test::More tests => 181; +use Test::More tests => 179; use LightyTest; my $tf = LightyTest->new(); @@ -1407,23 +1407,6 @@ EOF $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 302, 'Location' => 'http://www.example.org/' } ]; ok($tf->handle_http($t) == 0, 'broken header via perl cgi'); -$t->{REQUEST} = ( <<EOF -GET /indexfile/ HTTP/1.0 -Host: cgi.example.org -EOF - ); -$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => '/indexfile/index.pl' } ]; -ok($tf->handle_http($t) == 0, 'index-file handling, Bug #3, Bug #6'); - -$t->{REQUEST} = ( <<EOF -POST /indexfile/abc HTTP/1.0 -Host: cgi.example.org -Content-Length: 0 -EOF - ); -$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 404, 'HTTP-Content' => '/indexfile/index.pl' } ]; -ok($tf->handle_http($t) == 0, 'server.error-handler-404, Bug #12'); - ## mod_deflate |