From 55bcb773a386a09ea456ea40bc479b34b4227fe8 Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 1 May 2013 20:38:48 -0500 Subject: [PATCH] Set the return status from the check() function of the test suite if the check failed. --- test/common.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/common.sh.in b/test/common.sh.in index ff06312f..1d55dff5 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -166,6 +166,8 @@ check() { echo echo "$0: test failed, outputs are in $first and $second." failed=`expr ${failed:-0} + 1` + #### Set return status of the function. + [ $failed -eq 0 ] fi } -- 2.56.0