diff --git a/haproxy/tests/errors_generate.bats b/haproxy/tests/errors_generate.bats index 52da76664b9..6bdff17f66f 100644 --- a/haproxy/tests/errors_generate.bats +++ b/haproxy/tests/errors_generate.bats @@ -48,7 +48,7 @@ teardown() { assert_equal \ "$(cat "$ACTUAL_ERRORS_DIR/$filename")" \ "$(cat "$TMP_ERRORS_DIR/$filename")" - ((file_count++)) + echo "$((file_count++))" >/dev/null done - ((file_count > 0)) + [[ file_count -gt 0 ]] }