GHA workflow - Fix Test 1 [skip travis]

This commit is contained in:
Mitchell Krog 2021-07-05 08:19:10 +02:00
parent 283138cc4e
commit 4de16cf144
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

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