From 07c06e0f9442b1f9ae4414769c305a616a316632 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Wed, 22 Apr 2020 17:19:36 +0200 Subject: [PATCH] declare t variable in set_skip_tests() --- testssl.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testssl.sh b/testssl.sh index 5990768..7358c34 100755 --- a/testssl.sh +++ b/testssl.sh @@ -20879,6 +20879,8 @@ debug_globals() { # It achieves that by setting the do_ according to the global array $SKIP_TESTS # set_skip_tests() { + local t + for t in ${SKIP_TESTS[@]} ; do t="do_${t}" # declare won't do it here --> local scope