REL-0.9 Fix error counting

This commit is contained in:
cytopia 2017-05-11 09:25:43 +02:00
parent cc8b93606a
commit 67d3f67d6c
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -90,7 +90,6 @@ wait_for() {
# Sleep with debug output
if [ "${#}" = "2" ]; then
if [ "${2}" = "1" ]; then
printf "wait "
# shellcheck disable=SC2034
for i in $(seq 1 "${_time}"); do
sleep 1
@ -362,6 +361,7 @@ debilbox_test() {
else
echo "[OK]: ${_cnt} / ${_oks} (All 'dvlbox-ok' found)"
fi
echo "[OK]: ${_cnt} / ${_oks}"
echo
echo "Count [ERR]'s on curl-ed url"
@ -372,6 +372,7 @@ debilbox_test() {
else
echo "[OK]: ${_cnt} / 0 (No 'dvlbox-err' found)"
fi
echo "[ERR]: ${_cnt} / 0"
echo