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