Don't crap out on failed diff.
This commit is contained in:
parent
17782cab67
commit
1f644a1d7d
1 changed files with 0 additions and 2 deletions
|
@ -16,7 +16,6 @@ trap 'rm /tmp/tapdiff$$' EXIT HUP INT QUIT TERM
|
||||||
if diff --text -u ${checkfile} - >/tmp/tapdiff$$
|
if diff --text -u ${checkfile} - >/tmp/tapdiff$$
|
||||||
then
|
then
|
||||||
echo "ok - ${legend}"
|
echo "ok - ${legend}"
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
echo "not ok - ${checkfile}: ${legend}"
|
echo "not ok - ${checkfile}: ${legend}"
|
||||||
if [ ! "${QUIET}" = 1 ]
|
if [ ! "${QUIET}" = 1 ]
|
||||||
|
@ -25,7 +24,6 @@ else
|
||||||
sed </tmp/tapdiff$$ -e 's/^/ /'
|
sed </tmp/tapdiff$$ -e 's/^/ /'
|
||||||
echo " ..."
|
echo " ..."
|
||||||
fi
|
fi
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# end
|
# end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue