From ef3b47a73adf98a510200daea9ebfceebed5bed6 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 25 Jun 2004 13:46:08 +1000 Subject: - djm@cvs.openbsd.org 2004/06/25 01:25:12 [regress/test-exec.sh] clean reexec-specific junk out of text-exec.sh and simplify; idea markus@ --- regress/test-exec.sh | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'regress/test-exec.sh') diff --git a/regress/test-exec.sh b/regress/test-exec.sh index e626dd78a..70250acd7 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -1,4 +1,4 @@ -# $OpenBSD: test-exec.sh,v 1.22 2004/06/24 19:32:00 djm Exp $ +# $OpenBSD: test-exec.sh,v 1.23 2004/06/25 01:25:12 djm Exp $ # Placed in the Public Domain. #SUDO=sudo @@ -268,27 +268,6 @@ start_sshd () test -f $PIDFILE || fatal "no sshd running on port $PORT" } -# Start a sshd and then delete it -start_sshd_copy_zap () -{ - cp ${SSHD} $OBJ/sshd.copy - SSHD_CPY=`which $OBJ/sshd.copy` - - # start sshd - $SUDO $SSHD_CPY -f $OBJ/sshd_config -t || fatal "sshd_config broken" - $SUDO $SSHD_CPY -f $OBJ/sshd_config - - trace "wait for sshd" - i=0; - while [ ! -f $PIDFILE -a $i -lt 5 ]; do - i=`expr $i + 1` - sleep $i - done - - test -f $PIDFILE || fatal "no sshd running on port $PORT" - rm -f $OBJ/sshd.copy -} - # source test body . $SCRIPT -- cgit v1.2.3