From 186dcf565245c79666d631742479b414f0c6c49f Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 28 Aug 2014 10:09:17 +0200 Subject: [PATCH] tests: added check for the DEFAULT group in test-pass-group-cert --- tests/test-pass-group-cert | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test-pass-group-cert b/tests/test-pass-group-cert index 140953ee..603b4a92 100755 --- a/tests/test-pass-group-cert +++ b/tests/test-pass-group-cert @@ -41,6 +41,12 @@ echo -n "Connecting to obtain cookie - group1 (with certificate)... " echo ok +echo -n "Connecting to obtain cookie - DEFAULT (with certificate)... " +( echo "test" | openconnect --authgroup DEFAULT -q localhost:$PORT --sslkey ./user-group-key.pem -c ./user-group-cert.pem -u test --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly >/dev/null 2>&1 ) || + fail $PID "Could not connect with certificate!" + +echo ok + echo -n "Connecting to obtain cookie - group2 (with certificate)... " ( echo "test" | openconnect --authgroup group2 -q localhost:$PORT --sslkey ./user-group-key.pem -c ./user-group-cert.pem -u test --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly >/dev/null 2>&1 ) || fail $PID "Could not connect with certificate!"