26 lines
289 B
Bash
Executable File
26 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if pidof php > /dev/null; then
|
|
echo -n
|
|
else
|
|
printf "%-40s" "index-file -> FastCGI"
|
|
exit 77
|
|
fi
|
|
|
|
test x$srcdir = x && srcdir=.
|
|
|
|
. $srcdir/testbase.sh
|
|
|
|
prepare_test
|
|
|
|
|
|
cat > $TMPFILE <<EOF
|
|
index-file -> FastCGI
|
|
GET /go/ HTTP/1.0
|
|
Host: www.example.org
|
|
|
|
Status: 200
|
|
EOF
|
|
|
|
run_test
|