summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/cut_here.right1
-rwxr-xr-xexamples/test.sh2
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/cut_here.right b/examples/cut_here.right
index b12195e3..b5970f03 100644
--- a/examples/cut_here.right
+++ b/examples/cut_here.right
@@ -1,7 +1,6 @@
dumpoops: found oopses: 1
Version: 2.6.32-19.el6.x86_64
-------------[ cut here ]------------
WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:467
generic_get_mtrr+0x11e/0x140() (Not tainted)
Hardware name: ProLiant BL460c G1
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