From 83e531a522449cbbb930e714e4529d1d14c87174 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 1 Jul 2019 12:37:10 +0200 Subject: [PATCH] [BETA] Referrer False Positive Testing REF: #277 Enabled Failing of Builds --- .dev-tools/beta-test-blocker-false-positives.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.dev-tools/beta-test-blocker-false-positives.sh b/.dev-tools/beta-test-blocker-false-positives.sh index 303b27835..114975f14 100755 --- a/.dev-tools/beta-test-blocker-false-positives.sh +++ b/.dev-tools/beta-test-blocker-false-positives.sh @@ -156,7 +156,7 @@ do echo "${bold}${green}PASSED - ${red}${mustmatch} was ${bold}${red}BLOCKED" else echo "${bold}${red}FAILED - ${red}${mustmatch} was ${bold}${red}NOT BLOCKED" - #exit 1 + exit 1 fi done } @@ -167,7 +167,7 @@ do if curl -I http://localhost:9000 -e "${mustnotmatch}" 2>&1 | grep -i '(52)'; then echo "${bold}${red}FAILED (FALSE POSITIVE DETECTED) - ${bold}${red}${mustnotmatch}" - #exit 1 + exit 1 else echo "${bold}${green}PASSED (FALSE POSITIVE NOT DETECTED) - ${bold}${red}${mustnotmatch}" fi