From cbb3b174887341cfe76724784b1e2e9b056d810d Mon Sep 17 00:00:00 2001 From: Dhinak G <17605561+dhinakg@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:50:55 -0400 Subject: [PATCH] Fix bug with fast mode in testing --- test_get_key.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_get_key.sh b/test_get_key.sh index 3a0f65f..086df83 100755 --- a/test_get_key.sh +++ b/test_get_key.sh @@ -4,7 +4,7 @@ set -e set -o pipefail # Use aa list instead of full decryption -FAST=1 +FAST_ENABLED=1 FAILED=0 fail() { @@ -35,6 +35,8 @@ for i in tests/*; do if [ -e "$TEST_DIR/fast_unsupported" ]; then FAST=0 + else + FAST=$FAST_ENABLED fi mkdir -p "$TMP_DIR"