mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
tests: fixed unreliable password entry in radius tests
This commit is contained in:
@@ -75,11 +75,11 @@ $ECHO_E "test" >pass-radius$TMP
|
||||
$OPENCONNECT $IP:$PORT_OCSERV -u test --passwd-on-stdin -v --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 < pass-radius$TMP &
|
||||
PID=$!
|
||||
|
||||
rm -f pass-radius$TMP
|
||||
|
||||
#wait for openconnect
|
||||
sleep 5
|
||||
|
||||
rm -f pass-radius$TMP
|
||||
|
||||
# The client IP depends on the username so it shouldn't change.
|
||||
ping -w 5 192.168.55.1
|
||||
if test $? != 0;then
|
||||
|
||||
Reference in New Issue
Block a user