mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
tests: use common functions in unix-test
This commit is contained in:
@@ -77,16 +77,7 @@ if test $? != 0;then
|
|||||||
stop
|
stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$DOCKER exec -i -t $IMAGE_NAME occtl show user test >out$TMP 2>&1
|
retrieve_user_info test
|
||||||
|
|
||||||
grep "Username" out$TMP
|
|
||||||
if test $? != 0;then
|
|
||||||
kill $PID
|
|
||||||
echo "could not find user information"
|
|
||||||
stop
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -f out$TMP
|
|
||||||
|
|
||||||
# There is an issue in nuttcp that makes it crash under docker if
|
# There is an issue in nuttcp that makes it crash under docker if
|
||||||
# /proc/sys/net/ipv4/tcp_adv_win_scale does not exist.
|
# /proc/sys/net/ipv4/tcp_adv_win_scale does not exist.
|
||||||
|
|||||||
Reference in New Issue
Block a user