summaryrefslogtreecommitdiffstats
path: root/examples/test.sh
blob: cedc0766fd4820d214a330b1ba8050634eaec540 (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 "$b".out "$b".right >"$b".diff 2>&1; then
		rm "$b".out "$b".diff
	fi
done