mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
GHA workflow - Full Test Stage 1 TESTS [skip travis]
This commit is contained in:
parent
20ee9ded59
commit
fe51247d01
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue