diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-08-09 06:42:33 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-08-09 06:42:33 +0000 |
commit | 75c3a8393a06bcdbf7d9bbfc627728619ae93261 (patch) | |
tree | eabea4f43f18d4bbcc5de838cb9186a3dc906397 /tests/mod-fastcgi.t | |
parent | 360aba360f5bb6c8db7f98717d67c08448b7a111 (diff) | |
download | lighttpd-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-x | tests/mod-fastcgi.t | 10 |
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 |