From 3e94506db49e011534281784fd07f38d4f688cc8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Sep 2012 18:32:26 -0400 Subject: Set non-zero exit status on test failures. --- (limited to 'tests/common.sh') 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}" } -- cgit v0.9.1