From a5ae5993909fb5ec16640ca95312ef3307b48d95 Mon Sep 17 00:00:00 2001 From: Jarell <91372088+jarelllama@users.noreply.github.com> Date: Tue, 2 Apr 2024 11:41:46 +0800 Subject: [PATCH] Test --- functions/test_functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/test_functions.sh b/functions/test_functions.sh index a4b958630..4f3b97cb2 100644 --- a/functions/test_functions.sh +++ b/functions/test_functions.sh @@ -483,7 +483,7 @@ test_source_log() { printf "source-log-test.com\n" >> data/pending/domains_petscams.com.tmp # EXPECTED OUTPUT printf "source-log-test.com\n" >> out_raw.txt - printf ",petscams.com,,1,1,0,0,0,0,0,,0,false,yes" >> out_source_log.txt + printf ",petscams.com,,1,1,0,0,0,0,0,,0,false,no" >> out_source_log.txt } # TEST: exclusion of specific sources from light version @@ -651,7 +651,7 @@ on_exit() { check_terms() { while read -r term; do if ! grep -qF "$term" "$1"; then - term_error=true + local term_error=true break fi done < "$2"