From 632ae255256e5294ece0c2de8fc26d899a303cd5 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 25 Feb 2015 15:32:52 +0100 Subject: [PATCH] tests: radius-test: cleanup --- tests/radius-test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/radius-test b/tests/radius-test index 3323d2ce..91b041e9 100755 --- a/tests/radius-test +++ b/tests/radius-test @@ -63,14 +63,15 @@ if test $? = 0;then stop fi -printf "test\ntest\n" >pass-radius$TMP +printf "test\n" >pass-radius$TMP openconnect $IP:$PORT_OCSERV -u testuser --passwd-on-stdin -v --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly < pass-radius$TMP if test $? = 0;then echo "Authentication with wrong username succeeded!" stop fi -printf "test\ntest\n" >pass-radius$TMP +echo "Trying with correct password" +printf "test\n" >pass-radius$TMP openconnect $IP:$PORT_OCSERV -u test --passwd-on-stdin -v --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 < pass-radius$TMP & PID=$!