From: Darren Tucker Date: Tue, 5 May 2020 01:32:43 +0000 (+1000) Subject: Skip security key tests if ENABLE_SK not set. X-Git-Tag: V_8_3_P1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c13403e55de8cdbb9da628ed95017b1d4c0f205f;p=thirdparty%2Fopenssh-portable.git Skip security key tests if ENABLE_SK not set. --- diff --git a/regress/test-exec.sh b/regress/test-exec.sh index bfe8783fe..5dc975d07 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -522,7 +522,9 @@ fi rm -f $OBJ/known_hosts $OBJ/authorized_keys_$USER SSH_SK_PROVIDER= -if [ -f "${SRC}/misc/sk-dummy/obj/sk-dummy.so" ] ; then +if ! config_defined ENABLE_SK; then + trace skipping sk-dummy +elif [ -f "${SRC}/misc/sk-dummy/obj/sk-dummy.so" ] ; then SSH_SK_PROVIDER="${SRC}/misc/sk-dummy/obj/sk-dummy.so" elif [ -f "${SRC}/misc/sk-dummy/sk-dummy.so" ] ; then SSH_SK_PROVIDER="${SRC}/misc/sk-dummy/sk-dummy.so"