From a76c77c21e6c8f7dc3e8ed6cb952afd42507ed69 Mon Sep 17 00:00:00 2001 From: djm Date: Thu, 6 Jun 2024 19:48:40 +0000 Subject: [PATCH] make sure logs are saved from sshd run via start_sshd --- regress/usr.bin/ssh/test-exec.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regress/usr.bin/ssh/test-exec.sh b/regress/usr.bin/ssh/test-exec.sh index bbdf65b4f4b..fcf9164147a 100644 --- a/regress/usr.bin/ssh/test-exec.sh +++ b/regress/usr.bin/ssh/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 @@ -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" } -- 2.20.1