summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2024-06-06 21:48:40 +0200
committerDamien Miller <djm@mindrot.org>2024-06-06 21:54:15 +0200
commitb8ebd86cefe9812204a10c028dc90de29918667d (patch)
tree3321f4f5b4ec693779eb3b67f34b3a5443cdc403
parentupstream: simplify (diff)
downloadopenssh-b8ebd86cefe9812204a10c028dc90de29918667d.tar.xz
openssh-b8ebd86cefe9812204a10c028dc90de29918667d.zip
upstream: make sure logs are saved from sshd run via start_sshd
OpenBSD-Regress-ID: de4ef0e32e3ab85ff3a6c36eb08d1909c0dd1b4a
-rw-r--r--regress/test-exec.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index c3d433d32..69541136c 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -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.
#SUDO=sudo
@@ -886,6 +886,7 @@ start_sshd ()
i=`expr $i + 1`
sleep $i
done
+ ln -f -s ${logfile} $TEST_SSHD_LOGFILE
test -f $PIDFILE || fatal "no sshd running on port $PORT"
}