summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2024-02-19 09:25:52 +0000
committerDarren Tucker <dtucker@dtucker.net>2024-02-19 20:35:31 +1100
commite27f032aa8fcbae9b2e7c451baaf4b8ac6fa3d45 (patch)
tree4274c16e559041edc315f28195fce7b3c109d9c6
parent84046f9991abef5f46b040b10cf3d494f933a17b (diff)
upstream: Always define puttysetup function.
-rw-r--r--regress/test-exec.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 4576930c..5ab4cb5d 100644
--- a/regress/test-exec.sh
+++ b/regress/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
@@ -761,8 +761,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
@@ -816,8 +815,7 @@ if test "$REGRESS_INTEROP_PUTTY" = "yes" ; then
fi
PUTTYDIR=${OBJ}/.putty
export PUTTYDIR
- }
-fi
+}
REGRESS_INTEROP_DROPBEAR=no
if test -x "$DROPBEARKEY" -a -x "$DBCLIENT" -a -x "$DROPBEARCONVERT"; then