From: Ian Jackson Date: Sun, 29 Dec 2019 14:00:58 +0000 (+0000) Subject: tests/filter: Print all the diffs, not just the first X-Git-Tag: subdirmk/0.3~17 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=subdirmk.git;a=commitdiff_plain;h=ee2747a8e9407fb19f226f3daa682c3f45b2778a;hp=02276fc4ac88fc9cd85625c749ffe4305a8a69f8;ds=sidebyside tests/filter: Print all the diffs, not just the first Signed-off-by: Ian Jackson --- diff --git a/tests/filter/check b/tests/filter/check index 10e63e2..e54e4e2 100755 --- a/tests/filter/check +++ b/tests/filter/check @@ -12,6 +12,8 @@ rc=$? set -e if [ $rc != 0 ]; then cat stderr.tmp; exit 1; fi +ok=true + files=$(find -name \*.expected) for f in $files; do i=$f @@ -22,7 +24,9 @@ for f in $files; do a } ' - diff -u $f.tmp ${f%.expected}.tmp + diff -u $f.tmp ${f%.expected}.tmp || ok=false done +$ok + echo ok.