summaryrefslogtreecommitdiffstats
path: root/examples/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test.sh')
-rwxr-xr-xexamples/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test.sh b/examples/test.sh
index cedc0766..6c704faa 100755
--- a/examples/test.sh
+++ b/examples/test.sh
@@ -1,7 +1,7 @@
for f in *.test; do
b="${f%%.test}"
dumpoops -s "$f" >"$b".out 2>&1
- if diff "$b".out "$b".right >"$b".diff 2>&1; then
+ if diff -u "$b".right "$b".out >"$b".diff 2>&1; then
rm "$b".out "$b".diff
fi
done