chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests/filter: Print all the diffs, not just the first
[secnet.git]
/
tests
/
filter
/
check
diff --git
a/tests/filter/check
b/tests/filter/check
index 10e63e249a8e2e15d1d5eec325f376d5fb80dde8..e54e4e29da94a50c02dce29fc0388f1fba543285 100755
(executable)
--- 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.