diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2024-02-19 09:25:53 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2024-02-19 09:25:53 +0000 |
commit | 5c0dda41d9933c68f0445ac347a81eb1a2121659 (patch) | |
tree | b18a617bf7fb5640a4fdb127aa5508b46a6c2230 /regress | |
parent | 0cecb8ea1a5f181c4adf49bcdcaaaa738efac1a3 (diff) |
Always define puttysetup function.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/ssh/test-exec.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/usr.bin/ssh/test-exec.sh b/regress/usr.bin/ssh/test-exec.sh index 2143cbe16b1..0774373c6b4 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.106 2024/02/09 08:47:42 dtucker Exp $ +# $OpenBSD: test-exec.sh,v 1.107 2024/02/19 09:25:52 dtucker Exp $ # Placed in the Public Domain. #SUDO=sudo @@ -570,8 +570,7 @@ case "$SCRIPT" in *) REGRESS_INTEROP_PUTTY=no ;; esac -if test "$REGRESS_INTEROP_PUTTY" = "yes" ; then - puttysetup() { +puttysetup() { if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then skip "putty interop tests not enabled" fi @@ -623,8 +622,9 @@ if test "$REGRESS_INTEROP_PUTTY" = "yes" ; then echo "KexAlgorithms +diffie-hellman-group14-sha1" \ >>${OBJ}/sshd_proxy fi - } -fi + PUTTYDIR=${OBJ}/.putty + export PUTTYDIR +} REGRESS_INTEROP_DROPBEAR=no if test -x "$DROPBEARKEY" -a -x "$DBCLIENT" -a -x "$DROPBEARCONVERT"; then |