tests: fixes in test-cookie-invalidation

This commit is contained in:
Nikos Mavrogiannopoulos
2015-09-18 14:53:09 +02:00
parent 845fcbc891
commit 6d951bb59e

View File

@@ -57,7 +57,6 @@ echo "Terminating and connecting again with same cookie... "
#( echo "test" | $OPENCONNECT -q localhost:$PORT -u test -C "$COOKIE" --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly >/dev/null 2>&1 ) ||
# fail $PID "Could not connect to server"
echo "test" | $OPENCONNECT -q localhost:$PORT -b -u test -C "$COOKIE" --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --script=/bin/true --verbose --pid-file ${srcdir}/pid2.$$ --background >/dev/null 2>&1
CPID=$!
sleep 4
@@ -86,7 +85,6 @@ fi
rm -f ${srcdir}/pid1.$$ ${srcdir}/pid2.$$
kill $CPID >/dev/null 2>&1
kill $PID
wait