mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-23 14:42:25 +00:00
Expect 4 OKs
This commit is contained in:
parent
ec860084c5
commit
acebbfbc16
@ -351,7 +351,9 @@ debilbox_test() {
|
||||
|
||||
count="$( curl -q localhost 2>/dev/null | grep -c OK )"
|
||||
echo "${count}"
|
||||
if [ "${count}" = "0" ]; then
|
||||
|
||||
# Break on OK's less or more than 4
|
||||
if [ "${count}" != "4" ]; then
|
||||
curl localhost
|
||||
return 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user