summaryrefslogtreecommitdiff
path: root/tests/mod-fastcgi.t
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2009-06-19 19:06:39 +0000
committerStefan Bühler <stbuehler@web.de>2009-06-19 19:06:39 +0000
commitb2108c436c060fc43060989b9d4a9184beaede9b (patch)
tree6062af6931f94886af09b53f6303731a60d09d05 /tests/mod-fastcgi.t
parent3c723e6744d4ef10d2f1a0bf6a560c686dffea86 (diff)
downloadlighttpd-git-b2108c436c060fc43060989b9d4a9184beaede9b.tar.gz
Remove X-Sendfile-Range feature; it will be replaced with something more powerful (#2005, #2008)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2542 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/mod-fastcgi.t')
-rwxr-xr-xtests/mod-fastcgi.t18
1 files changed, 2 insertions, 16 deletions
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t
index 8fc35e1d..b5f74d64 100755
--- a/tests/mod-fastcgi.t
+++ b/tests/mod-fastcgi.t
@@ -7,7 +7,7 @@ BEGIN {
}
use strict;
-use Test::More tests => 55;
+use Test::More tests => 53;
use LightyTest;
my $tf = LightyTest->new();
@@ -25,7 +25,7 @@ SKIP: {
}
SKIP: {
- skip "no PHP running on port 1026", 32 unless $tf->listening_on(1026);
+ skip "no PHP running on port 1026", 30 unless $tf->listening_on(1026);
ok($tf->start_proc == 0, "Starting lighttpd") or goto cleanup;
@@ -174,20 +174,6 @@ EOF
$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => '/foo/bar' } ];
ok($tf->handle_http($t) == 0, 'PATH_INFO, check-local off');
- $t->{REQUEST} = ( <<EOF
-GET /sendfile.php HTTP/1.0
-EOF
- );
- $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'Content-Length' => 4348 } ];
- ok($tf->handle_http($t) == 0, 'X-Sendfile');
-
- $t->{REQUEST} = ( <<EOF
-GET /sendfile.php?range=3+10 HTTP/1.0
-EOF
- );
- $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'OCTYPE ' } ];
- ok($tf->handle_http($t) == 0, 'X-Sendfile-Range');
-
ok($tf->stop_proc == 0, "Stopping lighttpd");