summaryrefslogtreecommitdiffstats
path: root/tests/common.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-09-09 18:32:26 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-09-09 18:32:26 (EDT)
commit3e94506db49e011534281784fd07f38d4f688cc8 (patch)
tree7dfb18b69144257d5fad744950570466545c076e /tests/common.sh
parent55e8ff7f93260d2a427daeec56dafdfa418368e5 (diff)
Set non-zero exit status on test failures.
Diffstat (limited to 'tests/common.sh')
-rw-r--r--tests/common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/common.sh b/tests/common.sh
index c32b3a1..ff3c9a8 100644
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -51,4 +51,5 @@ test_assert()
printf 'Assertion failed with exit status %d:\n %s\n' \
"${es}" "${*}"
fi
+ return "${es}"
}