summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-25 14:18:23 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-25 14:18:23 +0200
commitf03f8111411de6ece4a810fadacd5e019e167cfe (patch)
tree4f66fcc09f6639c9ab0b6cb2abe4b352acb310f4 /examples
parentd33a83675a45dd76868450686346a5e92fcefd6f (diff)
downloadabrt-f03f8111411de6ece4a810fadacd5e019e167cfe.zip
abrt-f03f8111411de6ece4a810fadacd5e019e167cfe.tar.gz
abrt-f03f8111411de6ece4a810fadacd5e019e167cfe.tar.xz
update some utility devel scripts, no impact on users
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/test.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/test.sh b/examples/test.sh
index 64b08ed..cedc076 100755
--- a/examples/test.sh
+++ b/examples/test.sh
@@ -1,4 +1,7 @@
for f in *.test; do
- b="${f%%.test}"
- dumpoops -s "$f" >"$b".right 2>&1
+ b="${f%%.test}"
+ dumpoops -s "$f" >"$b".out 2>&1
+ if diff "$b".out "$b".right >"$b".diff 2>&1; then
+ rm "$b".out "$b".diff
+ fi
done