From: dtucker@openbsd.org Date: Fri, 28 Mar 2025 05:36:24 +0000 (+0000) Subject: upstream: Add TEST_SSH_SSHD_ENV variable which is added to sshd's X-Git-Tag: V_10_0_P1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98f05b1484daddef2f56b79e24540523b5016143;p=thirdparty%2Fopenssh-portable.git upstream: Add TEST_SSH_SSHD_ENV variable which is added to sshd's environment. Will be used in Portable to tweak behaviour of tcmalloc's debugging. OpenBSD-Regress-ID: 67e38c3c4517ddb72c8a3549a3325a166d7bb6d6 --- diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 096933c4a..25c46c272 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -1,4 +1,4 @@ -# $OpenBSD: test-exec.sh,v 1.125 2025/03/28 05:33:30 dtucker Exp $ +# $OpenBSD: test-exec.sh,v 1.126 2025/03/28 05:36:24 dtucker Exp $ # Placed in the Public Domain. #SUDO=sudo @@ -884,7 +884,7 @@ fi # create a proxy version of the client config ( cat $OBJ/ssh_config - echo proxycommand ${SUDO} env SSH_SK_HELPER=\"$SSH_SK_HELPER\" ${OBJ}/sshd-log-wrapper.sh -i -f $OBJ/sshd_proxy + echo proxycommand ${SUDO} env SSH_SK_HELPER=\"$SSH_SK_HELPER\" ${TEST_SSH_SSHD_ENV} ${OBJ}/sshd-log-wrapper.sh -i -f $OBJ/sshd_proxy ) > $OBJ/ssh_proxy # check proxy config @@ -902,7 +902,7 @@ start_sshd () # start sshd logfile="${TEST_SSH_LOGDIR}/sshd.`$OBJ/timestamp`.$$.log" $SUDO ${SSHD} -f $OBJ/sshd_config "$@" -t || fatal "sshd_config broken" - $SUDO env SSH_SK_HELPER="$SSH_SK_HELPER" \ + $SUDO env SSH_SK_HELPER="$SSH_SK_HELPER" ${TEST_SSH_SSHD_ENV} \ ${SSHD} -f $OBJ/sshd_config "$@" -E$TEST_SSHD_LOGFILE trace "wait for sshd"