diff options
author | 2014-03-13 20:44:49 +0000 | |
---|---|---|
committer | 2014-03-13 20:44:49 +0000 | |
commit | 8630986f3e200ece6a87eb21f251c6ff9c1309eb (patch) | |
tree | 2cf504267033ffb89d34b9bd2134918280f03cca | |
parent | When failing to find the required privsep user entry, it is not cool at (diff) | |
download | wireguard-openbsd-8630986f3e200ece6a87eb21f251c6ff9c1309eb.tar.xz wireguard-openbsd-8630986f3e200ece6a87eb21f251c6ff9c1309eb.zip |
this test is a sorry mess of race conditions; add another sleep
to avoid a failure on slow machines (at least until I find a
better way)
-rw-r--r-- | regress/usr.bin/ssh/login-timeout.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/usr.bin/ssh/login-timeout.sh b/regress/usr.bin/ssh/login-timeout.sh index d9b48f39102..eb76f554b45 100644 --- a/regress/usr.bin/ssh/login-timeout.sh +++ b/regress/usr.bin/ssh/login-timeout.sh @@ -1,4 +1,4 @@ -# $OpenBSD: login-timeout.sh,v 1.6 2014/02/27 20:04:16 djm Exp $ +# $OpenBSD: login-timeout.sh,v 1.7 2014/03/13 20:44:49 djm Exp $ # Placed in the Public Domain. tid="connect after login grace timeout" @@ -22,6 +22,7 @@ $SUDO kill `$SUDO cat $PIDFILE` trace "test login grace without privsep" echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config start_sshd +sleep 1 (echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 & sleep 15 |