From e27f032aa8fcbae9b2e7c451baaf4b8ac6fa3d45 Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Mon, 19 Feb 2024 09:25:52 +0000 Subject: [PATCH] upstream: Always define puttysetup function. OpenBSD-Regress-ID: b4c0ccfa4006a1bc5dfd99ccf21c854d3ce2aee0 --- regress/test-exec.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 4576930ca..5ab4cb5d5 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