mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
tests: test-user-config: fixed check for 401 error
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user