diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/test.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/test.sh b/examples/test.sh index 64b08ed8..cedc0766 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 |