make sure logs are saved from sshd run via start_sshd
authordjm <djm@openbsd.org>
Thu, 6 Jun 2024 19:48:40 +0000 (19:48 +0000)
committerdjm <djm@openbsd.org>
Thu, 6 Jun 2024 19:48:40 +0000 (19:48 +0000)
regress/usr.bin/ssh/test-exec.sh

index bbdf65b..fcf9164 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
@@ -688,6 +688,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"
 }