From 1e70c3acca1e6e68cac428a29f4c80d0ff73fd0e Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Wed, 26 Jun 2019 09:21:32 +0200 Subject: [PATCH] TEST Rate Limiting Build Test REF: #175 --- .dev-tools/test-blocker-whitelist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dev-tools/test-blocker-whitelist.sh b/.dev-tools/test-blocker-whitelist.sh index f349027f6..2448474d9 100755 --- a/.dev-tools/test-blocker-whitelist.sh +++ b/.dev-tools/test-blocker-whitelist.sh @@ -266,7 +266,7 @@ file=${TRAVIS_BUILD_DIR}/.dev-tools/test_units/rate-limit-googlebot.list lines=$(cat ${file}) for line in ${lines}; do if - curl http://localhost:9000 -e "http://${line}" 2>&1 | grep -i 'Welcome'; then + curl -A "${line}" http://localhost:9000 2>&1 | grep -i 'Welcome'; then echo "${bold}${green}PASSED - ${red}${line} was ${bold}${green}ALLOWED" else echo "${bold}${red}FAILED - ${red}${line} was ${bold}${red}NOT ALLOWED"