Skip to content

Commit

Permalink
Set correct exit code when tests pass or fail
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Nov 30, 2024
1 parent 99ca2bd commit ac1cd5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,7 @@ if [ ! -z "$FAILED" ]
then
echo "# $NOK/$NTEST tests failed"
echo "# The following test(s) failed: $FAILED"
exit 1
fi

exit 0

0 comments on commit ac1cd5a

Please sign in to comment.