Don't crap out on failed diff.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 1 Mar 2023 19:01:44 +0000 (14:01 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 1 Mar 2023 19:01:44 +0000 (14:01 -0500)
tests/tapdiffer

index b529a3931fb55fbf9d642b70103883658aef78c6..3ddd6296bdd9c47ad4b26613ef8b86a09f016d41 100755 (executable)
@@ -16,7 +16,6 @@ trap 'rm /tmp/tapdiff$$' EXIT HUP INT QUIT TERM
 if diff --text -u ${checkfile} - >/tmp/tapdiff$$
 then
        echo "ok - ${legend}"
-       exit 0
 else
        echo "not ok - ${checkfile}: ${legend}"
        if [ ! "${QUIET}" = 1 ]
@@ -25,7 +24,6 @@ else
                sed </tmp/tapdiff$$ -e 's/^/  /'
                echo "  ..."
        fi
-       exit 1
 fi
 
 # end