summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-03-07 18:34:04 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-03-07 18:34:04 +1100
commit894823ec69fbf5249c2d181e74cf42e392c623c3 (patch)
treee2a9e8fea8fd3155dde785f94544526483449717
parenta0f3ba71a01428fb468ee7a6bc2fed42436c83f8 (diff)
- djm@cvs.openbsd.org 2005/02/27 23:13:36
[login-timeout.sh] avoid nameservice lookups in regress test; ok dtucker@
-rw-r--r--ChangeLog5
-rw-r--r--regress/login-timeout.sh6
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 1771d0da..4b481a18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,9 @@
[multiplex.sh test-exec.sh sshd-log-wrapper.sh]
Add optional capability to log output from regress commands; ok markus@
Use with: make TEST_SSH_LOGFILE=/tmp/regress.log
+ - djm@cvs.openbsd.org 2005/02/27 23:13:36
+ [login-timeout.sh]
+ avoid nameservice lookups in regress test; ok dtucker@
20050306
- (dtucker) [monitor.c] Bug #125 comment #47: fix errors returned by monitor
@@ -2298,4 +2301,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3698 2005/03/07 07:33:02 dtucker Exp $
+$Id: ChangeLog,v 1.3699 2005/03/07 07:34:04 dtucker Exp $
diff --git a/regress/login-timeout.sh b/regress/login-timeout.sh
index ce6edade..15a887f7 100644
--- a/regress/login-timeout.sh
+++ b/regress/login-timeout.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: login-timeout.sh,v 1.3 2004/03/08 10:17:12 dtucker Exp $
+# $OpenBSD: login-timeout.sh,v 1.4 2005/02/27 23:13:36 djm Exp $
# Placed in the Public Domain.
tid="connect after login grace timeout"
@@ -8,7 +8,7 @@ echo "LoginGraceTime 10s" >> $OBJ/sshd_config
echo "MaxStartups 1" >> $OBJ/sshd_config
start_sshd
-(echo SSH-2.0-fake; sleep 60) | telnet localhost ${PORT} >/dev/null 2>&1 &
+(echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 &
sleep 15
${SSH} -F $OBJ/ssh_config somehost true
if [ $? -ne 0 ]; then
@@ -21,7 +21,7 @@ trace "test login grace without privsep"
echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config
start_sshd
-(echo SSH-2.0-fake; sleep 60) | telnet localhost ${PORT} >/dev/null 2>&1 &
+(echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 &
sleep 15
${SSH} -F $OBJ/ssh_config somehost true
if [ $? -ne 0 ]; then