- 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)
This commit is contained in:
Damien Miller 2014-05-15 15:07:33 +10:00
parent e5b9f0f2ee
commit 54343e95c7
2 changed files with 8 additions and 1 deletions

View File

@ -91,6 +91,12 @@
portability glue to support building without libcrypto portability glue to support building without libcrypto
- (djm) [Makefile.in configure.ac sshbuf-getput-basic.c] - (djm) [Makefile.in configure.ac sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf.c] compilation and portability fixes [sshbuf-getput-crypto.c sshbuf.c] compilation and portability fixes
- OpenBSD CVS Sync
- 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)
20140430 20140430
- (dtucker) [defines.h] Define __GNUC_PREREQ__ macro if we don't already - (dtucker) [defines.h] Define __GNUC_PREREQ__ macro if we don't already

View File

@ -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. # Placed in the Public Domain.
tid="connect after login grace timeout" tid="connect after login grace timeout"
@ -22,6 +22,7 @@ $SUDO kill `$SUDO cat $PIDFILE`
trace "test login grace without privsep" trace "test login grace without privsep"
echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config
start_sshd start_sshd
sleep 1
(echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 & (echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 &
sleep 15 sleep 15