summaryrefslogtreecommitdiff
path: root/tests/bug-06.sh
blob: 336c89194d01128ce371b62c8771e305bba38218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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