]> diplodocus.org Git - nmh/commitdiff
Ignore the return status of diff, so we don't exit if diff fails when using
authorKen Hornstein <kenh@pobox.com>
Fri, 1 Feb 2013 20:41:00 +0000 (15:41 -0500)
committerKen Hornstein <kenh@pobox.com>
Fri, 1 Feb 2013 20:41:00 +0000 (15:41 -0500)
set -e.

test/common.sh.in

index b6f7c4c..0284653 100644 (file)
@@ -134,7 +134,7 @@ check() {
       rm -f "$2"
     else
       echo
       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`
       echo
       echo "$0: test failed, outputs are in $1 and $2."
       failed=`expr ${failed:-0} + 1`