coverage.sh: continue loop after finding a program to diff with

This commit is contained in:
Johannes 'josch' Schauer 2020-01-04 00:35:11 +01:00
parent de85ad44b2
commit b3949f6f7a
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -113,18 +113,21 @@ cmp dev1.tar dev2.tar || ret=\$?
if [ "\$ret" -ne 0 ]; then
if type diffoscope >/dev/null; then
diffoscope dev1.tar dev2.tar
continue
else
echo "no diffoscope installed" >&2
fi
if type base64 >/dev/null; then
base64 dev1.tar
base64 dev2.tar
continue
else
echo "no base64 installed" >&2
fi
if type xxd >/dev/null; then
xxd dev1.tar
xxd dev2.tar
continue
else
echo "no xxd installed" >&2
fi