summaryrefslogtreecommitdiffstats
path: root/examples/test.sh
blob: 8f7566fb123c5192e0b7f40f8bbf2b22038c574c (plain)
1
2
3
4
5
6
7
for f in *.test; do
        b="${f%%.test}"
        abrt-dump-oops -o "$f" >"$b".out 2>&1
        if diff -u "$b".right "$b".out >"$b".diff 2>&1; then
                rm "$b".out "$b".diff
        fi
done