From 117e1e8e2430d7e753d6abe7d047631995a2f819 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Sat, 22 Jun 2019 09:28:27 +0200 Subject: [PATCH] Test New Curl Test Format on Test Unit REF: #264 --- .dev-tools/run-curl-tests-testing-of-changes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dev-tools/run-curl-tests-testing-of-changes.sh b/.dev-tools/run-curl-tests-testing-of-changes.sh index aa3fb2320..f8563c4bd 100755 --- a/.dev-tools/run-curl-tests-testing-of-changes.sh +++ b/.dev-tools/run-curl-tests-testing-of-changes.sh @@ -311,7 +311,7 @@ run_curltest14 run_curltest15 () { printf '\n%s\n%s\n%s\n\n' "############################" "TESTING FALSE POSITIVE CASES" "############################" -if grep -i 'Welcome' | curl -v -A "Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0" http://localhost:9000/index.php 2>&1; then +if curl -v -A "Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0" http://localhost:9000/index.php 2>&1 | grep -i 'Welcome'; then echo "$(tput setaf 2)NO FALSE POSITIVE - TEST PASSED" else echo "$(tput setaf 1)FALSE POSITIVE - TEST FAILED"