summaryrefslogtreecommitdiff
path: root/tests/bug-06.sh
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-02-20 14:27:00 +0000
committerJan Kneschke <jan@kneschke.de>2005-02-20 14:27:00 +0000
commitbcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b (patch)
treea0536d23ba17a40c236fc3cd2a4a133110ae7501 /tests/bug-06.sh
downloadlighttpd-git-bcdc6a3bbcde8e66da41aa2311642e53f4fc7c9b.tar.gz
moved everything below trunk/ and added branches/ and tags/
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/bug-06.sh')
-rwxr-xr-xtests/bug-06.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/bug-06.sh b/tests/bug-06.sh
new file mode 100755
index 00000000..336c8919
--- /dev/null
+++ b/tests/bug-06.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+if pidof php > /dev/null; then
+ echo -n
+else
+ printf "%-40s" "FastCGI PHPinfo"
+ exit 77
+fi
+
+test x$srcdir = x && srcdir=.
+
+. $srcdir/testbase.sh
+
+prepare_test
+
+cat > $TMPFILE <<EOF
+PHP_SELF + last indexfile
+GET /indexfile/ HTTP/1.0
+Host: www.example.org
+
+Status: 200
+Content: /indexfile/index.php
+EOF
+
+run_test
+