summaryrefslogtreecommitdiff
path: root/tests/mod-fastcgi.t
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-08-09 06:42:33 +0000
committerJan Kneschke <jan@kneschke.de>2005-08-09 06:42:33 +0000
commit75c3a8393a06bcdbf7d9bbfc627728619ae93261 (patch)
treeeabea4f43f18d4bbcc5de838cb9186a3dc906397 /tests/mod-fastcgi.t
parent360aba360f5bb6c8db7f98717d67c08448b7a111 (diff)
downloadlighttpd-git-75c3a8393a06bcdbf7d9bbfc627728619ae93261.tar.gz
added include_shell option to configfiles (merged the rest of the trunk changesets)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/mod-fastcgi.t')
-rwxr-xr-xtests/mod-fastcgi.t10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t
index 8ead034d..515486fd 100755
--- a/tests/mod-fastcgi.t
+++ b/tests/mod-fastcgi.t
@@ -7,7 +7,7 @@ BEGIN {
}
use strict;
-use Test::More tests => 43;
+use Test::More tests => 44;
use LightyTest;
my $tf = LightyTest->new();
@@ -68,6 +68,14 @@ EOF
ok($tf->handle_http($t) == 0, '$_SERVER["PHP_SELF"]');
$t->{REQUEST} = ( <<EOF
+GET /pathinfo.php/foo HTTP/1.0
+Host: www.example.org
+EOF
+ );
+ $t->{RESPONSE} = ( { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => '/foo' } );
+ ok($tf->handle_http($t) == 0, '$_SERVER["PATH_INFO"]');
+
+ $t->{REQUEST} = ( <<EOF
GET /phphost.php HTTP/1.0
Host: www.example.org
EOF