summaryrefslogtreecommitdiff
path: root/tests/request.t
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-11-08 07:18:11 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2021-11-12 17:56:38 -0500
commitadf2f816dfc22153b26da790eacd71ca78a313bc (patch)
tree94c17e6dd2dfc83d37c422b17b2d19f3d75de215 /tests/request.t
parent699209103cf4d614b1aac57a60b2620b94d176c4 (diff)
downloadlighttpd-git-adf2f816dfc22153b26da790eacd71ca78a313bc.tar.gz
[tests] mod_ssi tests moved to src/t/test_mod_ssi
remove mod_ssi Perl tests now performed by src/t/test_mod_ssi
Diffstat (limited to 'tests/request.t')
-rwxr-xr-xtests/request.t29
1 files changed, 1 insertions, 28 deletions
diff --git a/tests/request.t b/tests/request.t
index 1ed279db..5c27c48b 100755
--- a/tests/request.t
+++ b/tests/request.t
@@ -8,7 +8,7 @@ BEGIN {
use strict;
use IO::Socket;
-use Test::More tests => 179;
+use Test::More tests => 176;
use LightyTest;
my $tf = LightyTest->new();
@@ -1823,31 +1823,4 @@ $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'BAR2
ok($tf->handle_http($t) == 0, 'query set-response-header');
-## mod_ssi
-
-$t->{REQUEST} = ( <<EOF
-GET /ssi.shtml HTTP/1.0
-EOF
- );
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => "/ssi.shtml\n" } ];
-ok($tf->handle_http($t) == 0, 'ssi - echo ');
-
-
-## bug #280
-$t->{REQUEST} = ( <<EOF
-GET /exec-date.shtml HTTP/1.0
-EOF
- );
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => "2\n\n" } ];
-ok($tf->handle_http($t) == 0, 'ssi - echo ');
-
-
-$t->{REQUEST} = ( <<EOF
-GET /ssi-include.shtml HTTP/1.0
-EOF
- );
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => "/ssi-include.shtml\n/ssi-include.shtml\n/ssi-include.shtml\nssi-include\n\nssi-include\n\n" } ];
-ok($tf->handle_http($t) == 0, 'ssi - include');
-
-
ok($tf->stop_proc == 0, "Stopping lighttpd");