GHA workflow - Full Test Stage 1 TESTS [skip travis]

This commit is contained in:
Mitchell Krog 2021-07-05 09:51:57 +02:00
parent 20ee9ded59
commit fe51247d01
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -127,7 +127,7 @@ UAtest_mustmatch () {
for mustmatch in "${UAmustmatch[@]}"
do
if
curl -A "${mustmatch}" http://localhost:80 2>&1 | grep -i 'Empty reply'; then
curl -A "${mustmatch}" http://localhost:80 2>&1 | grep -i '(52))'; then
echo "${bold}${green}PASSED - ${red}${mustmatch} was ${bold}${red}BLOCKED"
else
echo "${bold}${red}FAILED - ${red}${mustmatch} was ${bold}${red}NOT BLOCKED"