From 1445a8a9cd07d19face084fc0153a96348825bc3 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 1 Jul 2019 10:17:09 +0200 Subject: [PATCH] [BETA] ADD Outputs in False Positive Case Testing Script For testing REGEX Changes and detection of False Positives REF: #277 --- .dev-tools/beta-test-blocker-false-positives.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.dev-tools/beta-test-blocker-false-positives.sh b/.dev-tools/beta-test-blocker-false-positives.sh index e73354a07..da1c4dd13 100755 --- a/.dev-tools/beta-test-blocker-false-positives.sh +++ b/.dev-tools/beta-test-blocker-false-positives.sh @@ -106,6 +106,7 @@ do echo "${bold}${green}PASSED - ${red}${mustmatch} was ${bold}${red}BLOCKED" else echo "${bold}${red}FAILED - ${red}${mustmatch} was ${bold}${red}NOT BLOCKED" + curl -A "${mustmatch}" http://localhost:9000 2>&1 #exit 1 fi done @@ -120,6 +121,7 @@ do #exit 1 else echo "${bold}${green}PASSED (FALSE POSITIVE NOT DETECTED) - ${bold}${red}${mustnotmatch}" + curl -A "${mustnotmatch}" http://localhost:9000 2>&1 fi done }