diff options
Diffstat (limited to 'test/pnmpsnr.test')
-rwxr-xr-x | test/pnmpsnr.test | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/test/pnmpsnr.test b/test/pnmpsnr.test index 7603459b..bdd67883 100755 --- a/test/pnmpsnr.test +++ b/test/pnmpsnr.test @@ -36,12 +36,23 @@ echo "Error messages should appear below the line." 1>&2 echo "-----------------------------------------------------------" 1>&2 pnmpsnr ${b_pbm} ${w_pbm} ${b_pbm} > ${test_out} || \ - echo -n "Expected failure 1"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 1" + test -s ${test_out}; echo " "$? + rm -f {test_out} + pnmpsnr ${b_pbm} > ${test_out} || \ - echo -n "Expected failure 2"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 2" + test -s ${test_out}; echo " "$? + rm -f {test_out} + pnmpsnr ${b_pbm} ${w_pbm} -target1=100 > ${test_out} || \ - echo -n "Expected failure 3"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 3" + test -s ${test_out}; echo " "$? + rm -f {test_out} + pnmpsnr -machine > ${test_out} || \ - echo -n "Expected failure 4"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 4" + test -s ${test_out}; echo " "$? + rm -f {test_out} -rm ${b_pbm} ${w_pbm} ${test_out} +rm ${b_pbm} ${w_pbm} |