summaryrefslogtreecommitdiff
path: root/tests/bug-15-3.sh
blob: b51810f7b6347bbb08395d5ad2d6a5fe5cbc10c5 (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 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 + redirect
GET /~weigon HTTP/1.0

Status: 301
Location: http://localhost:2048/~weigon/
EOF

run_test