]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: make sure logs are saved from sshd run via start_sshd
authordjm@openbsd.org <djm@openbsd.org>
Thu, 6 Jun 2024 19:48:40 +0000 (19:48 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 6 Jun 2024 19:54:15 +0000 (05:54 +1000)
OpenBSD-Regress-ID: de4ef0e32e3ab85ff3a6c36eb08d1909c0dd1b4a

regress/test-exec.sh

index c3d433d3275e6d3ca5d1c9890aad1e4958240771..69541136c7ec92cab54ede35532200ea691f0039 100644 (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.
 
 #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"
 }