]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Always define puttysetup function.
authordtucker@openbsd.org <dtucker@openbsd.org>
Mon, 19 Feb 2024 09:25:52 +0000 (09:25 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 19 Feb 2024 09:35:31 +0000 (20:35 +1100)
OpenBSD-Regress-ID: b4c0ccfa4006a1bc5dfd99ccf21c854d3ce2aee0

regress/test-exec.sh

index 4576930caf4227fa75c1be09a80e80277bd3ba4b..5ab4cb5d5f5e642d6185bc82575ae9a1534b4ecf 100644 (file)
@@ -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