mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
tests: kill politely openconnect in all docker tests
This commit is contained in:
@@ -88,13 +88,13 @@ rm -f pass-${TMP}.tmp
|
||||
# The client IP depends on the username so it shouldn't change.
|
||||
ping -w 5 192.168.237.1
|
||||
if test $? != 0;then
|
||||
kill $PID
|
||||
kill -INT $PID
|
||||
echo "Cannot ping ocserv"
|
||||
stop
|
||||
fi
|
||||
|
||||
retrieve_user_info test
|
||||
kill $PID
|
||||
kill -INT $PID
|
||||
|
||||
$DOCKER stop $IMAGE_NAME
|
||||
$DOCKER rm $IMAGE_NAME
|
||||
|
||||
Reference in New Issue
Block a user