tests: check for special characters into username in addition to password

This commit is contained in:
Nikos Mavrogiannopoulos
2014-06-09 15:18:50 +02:00
parent b4544a9582
commit a3b8745f44
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ echo "Connecting to obtain cookie with wrong username... "
#test special characters
echo "Connecting to obtain cookie... "
( echo "!@#$%^&*()<>" | openconnect -q localhost:$PORT -u special --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly >/dev/null 2>&1 ) ||
( echo "!@#$%^&*()<>" | openconnect -q localhost:$PORT -u "sp@c/al" --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly >/dev/null 2>&1 ) ||
fail $PID "Could not receive cookie from server"
#echo "Normal connection... "