Skip to content

Commit

Permalink
tests: actually fail tests when we have a failure
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kevans91 committed Jan 19, 2024
1 parent bbd9159 commit 2077cbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/basic_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ not_ok()

echo "not ok $testid - $f: $msg"
testid=$((testid + 1))
fails=$((fails + 1))
}

for f in "$@" ;do
Expand Down

0 comments on commit 2077cbc

Please sign in to comment.