diff options
Diffstat (limited to 'test/pbmpage.test')
-rwxr-xr-x | test/pbmpage.test | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/test/pbmpage.test b/test/pbmpage.test index 50570e3e..cfacefa7 100755 --- a/test/pbmpage.test +++ b/test/pbmpage.test @@ -20,10 +20,16 @@ tmpdir=${tmpdir:-/tmp} test_out=${tmpdir}/test_out pbmpage -a3 1 > ${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} + pbmpage 0 > ${test_out} || \ - echo -n "Expected failure 2"; test -s ${test_out}; echo " "$? -pbmpage 4 > ${test_out} || \ - echo -n "Expected failure 3"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 2" + test -s ${test_out}; echo " "$? + rm -f {test_out} -rm ${test_out} +pbmpage 4 > ${test_out} || \ + echo -n "Expected failure 3" + test -s ${test_out}; echo " "$? + rm -f {test_out} |