diff options
author | Damien Miller <djm@mindrot.org> | 2014-05-15 15:07:33 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-05-15 15:07:33 +1000 |
commit | 54343e95c70994695f8842fb22836321350198d3 (patch) | |
tree | 2f6f2606331b243a7efc85524f47f0913f4244ae /regress/login-timeout.sh | |
parent | e5b9f0f2ee6e133894307e44e862b66426990733 (diff) |
- djm@cvs.openbsd.org 2014/03/13 20:44:49
[login-timeout.sh]
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)
Diffstat (limited to 'regress/login-timeout.sh')
-rw-r--r-- | regress/login-timeout.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/login-timeout.sh b/regress/login-timeout.sh index d9b48f391..eb76f554b 100644 --- a/regress/login-timeout.sh +++ b/regress/login-timeout.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: login-timeout.sh,v 1.6 2014/02/27 20:04:16 djm Exp $ | 1 | # $OpenBSD: login-timeout.sh,v 1.7 2014/03/13 20:44:49 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="connect after login grace timeout" | 4 | tid="connect after login grace timeout" |
@@ -22,6 +22,7 @@ $SUDO kill `$SUDO cat $PIDFILE` | |||
22 | trace "test login grace without privsep" | 22 | trace "test login grace without privsep" |
23 | echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config | 23 | echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config |
24 | start_sshd | 24 | start_sshd |
25 | sleep 1 | ||
25 | 26 | ||
26 | (echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 & | 27 | (echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 & |
27 | sleep 15 | 28 | sleep 15 |