Expect 4 OKs

This commit is contained in:
cytopia 2016-12-26 04:30:12 +01:00
parent ec860084c5
commit acebbfbc16
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -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