tests: test-user-config: fixed check for 401 error

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2017-03-23 09:28:43 +01:00
parent e8a07e402e
commit 8e66136a1b

View File

@@ -66,7 +66,7 @@ if test $? = 124;then
fail $PID "Max-same-clients directive was ignored"
fi
CONTENTS=`cat ${TMPFILE2}|grep "HTTP/1.1 401 Unauthorized"`
CONTENTS=`cat ${TMPFILE2}|grep "HTTP/1.1 401"`
if test -z "$CONTENTS";then
cat ${TMPFILE2}
fail $PID "Max-same-clients directive was ignored"