From: Ken Hornstein Date: Fri, 1 Feb 2013 20:41:00 +0000 (-0500) Subject: Ignore the return status of diff, so we don't exit if diff fails when using X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/2125d3fe1bba870fb85e4f7d0ff3908b12c96ffc?ds=inline Ignore the return status of diff, so we don't exit if diff fails when using set -e. --- diff --git a/test/common.sh.in b/test/common.sh.in index b6f7c4cf..02846536 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -134,7 +134,7 @@ check() { rm -f "$2" else echo - diff -c "$1" "$2" + diff -c "$1" "$2" || true echo echo "$0: test failed, outputs are in $1 and $2." failed=`expr ${failed:-0} + 1`