diff options
Diffstat (limited to 'tests/auth-01.sh')
-rwxr-xr-x | tests/auth-01.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auth-01.sh b/tests/auth-01.sh new file mode 100755 index 00000000..59d5e7cd --- /dev/null +++ b/tests/auth-01.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +test x$srcdir = x && srcdir=. + +. $srcdir/testbase.sh + +prepare_test + +cat > $TMPFILE <<EOF +auth required, no token sent +GET /server-status HTTP/1.0 + +Status: 401 +EOF + +run_test |