From 54195a6c6e600406708b775c9fb6c61a3ed7762f Mon Sep 17 00:00:00 2001 From: Tyler Akins Date: Thu, 25 Nov 2021 16:02:21 -0600 Subject: [PATCH] Fixing test script to return 0 on success --- run-tests | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run-tests b/run-tests index 589e899..b1a0331 100755 --- a/run-tests +++ b/run-tests @@ -40,4 +40,6 @@ done echo "" echo "Pass: $PASS" echo "Fail: $FAIL" -[[ $FAIL -gt 0 ]] && exit 1 +if [[ $FAIL -gt 0 ]]; then + exit 1 +fi