diff options
Diffstat (limited to 'tests/fastcgi-06.sh')
-rwxr-xr-x | tests/fastcgi-06.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/fastcgi-06.sh b/tests/fastcgi-06.sh new file mode 100755 index 00000000..bc54d924 --- /dev/null +++ b/tests/fastcgi-06.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +if pidof php > /dev/null; then + echo -n +else + printf "%-40s" "Redirect in PHP" + exit 77 +fi + +test x$srcdir = x && srcdir=. + +. $srcdir/testbase.sh + +prepare_test + + +cat > $TMPFILE <<EOF +PHP_SELF + PATH_INFO +GET /phpself.php/foo HTTP/1.0 +Host: www.example.org +Conntection: close + +Status: 200 +Content: /phpself.php +EOF + +run_test |