From 5180662a7c3426b7dd1df767b30182a7549c5bec Mon Sep 17 00:00:00 2001 From: Daniel N Date: Wed, 23 Aug 2023 17:43:47 +0200 Subject: [PATCH] WIP --- haproxy/tests/errors_generate.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ]] }