upstream: make sure logs are saved from sshd run via start_sshd

OpenBSD-Regress-ID: de4ef0e32e3ab85ff3a6c36eb08d1909c0dd1b4a
This commit is contained in:
djm@openbsd.org 2024-06-06 19:48:40 +00:00 committed by Damien Miller
parent d7b2070bda
commit b8ebd86cef
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: test-exec.sh,v 1.113 2024/06/06 19:47:48 djm Exp $ # $OpenBSD: test-exec.sh,v 1.114 2024/06/06 19:48:40 djm Exp $
# Placed in the Public Domain. # Placed in the Public Domain.
#SUDO=sudo #SUDO=sudo
@ -886,6 +886,7 @@ start_sshd ()
i=`expr $i + 1` i=`expr $i + 1`
sleep $i sleep $i
done done
ln -f -s ${logfile} $TEST_SSHD_LOGFILE
test -f $PIDFILE || fatal "no sshd running on port $PORT" test -f $PIDFILE || fatal "no sshd running on port $PORT"
} }