28 lines
300 B
Bash
Executable File
28 lines
300 B
Bash
Executable File
#!/bin/sh
|
|
|
|
|
|
if id weigon > /dev/null; then
|
|
echo -n
|
|
else
|
|
printf "%-40s" "userdir"
|
|
exit 77
|
|
fi
|
|
|
|
|
|
test x$srcdir = x && srcdir=.
|
|
|
|
. $srcdir/testbase.sh
|
|
|
|
prepare_test
|
|
|
|
cat > $TMPFILE <<EOF
|
|
userdir for ~weigon
|
|
GET /~weigon/ HTTP/1.0
|
|
Host: www.example.org
|
|
|
|
Status: 200
|
|
EOF
|
|
|
|
run_test
|
|
|