From ca2898f67896be77d4556c85a536975319a99dee Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Wed, 25 Aug 2021 21:57:42 -0400 Subject: [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) --- tests/request.t | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'tests/request.t') 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} = ( <{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} = ( <{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 -- cgit v1.2.1