From 2077cbceac102b823421222661431d18e39b622d Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Thu, 18 Jan 2024 22:31:16 -0600 Subject: [PATCH] tests: actually fail tests when we have a failure When I refactored these to streamline them a bit more, I failed to increment fails when we see a failure. Signed-off-by: Kyle Evans --- tests/basic_test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/basic_test.sh b/tests/basic_test.sh index b1fa781..52bb4f6 100644 --- a/tests/basic_test.sh +++ b/tests/basic_test.sh @@ -27,6 +27,7 @@ not_ok() echo "not ok $testid - $f: $msg" testid=$((testid + 1)) + fails=$((fails + 1)) } for f in "$@" ;do