From ffa495eb1f02bfc0e5f83a17e917e8709ec41356 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 30 Jun 2021 19:38:50 +0000 Subject: Release 10.95.00 git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4119 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- test/pamfile.test | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'test/pamfile.test') diff --git a/test/pamfile.test b/test/pamfile.test index aa3e2895..16d084ea 100755 --- a/test/pamfile.test +++ b/test/pamfile.test @@ -31,10 +31,16 @@ echo "Error messages should appear below the line." 1>&2 echo "-----------------------------------------------------------" 1>&2 pamfile -size -machine testimg.ppm > ${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} + pamfile -count -machine testimg.ppm > ${test_out} || \ - echo -n "Expected failure 2"; test -s ${test_out}; echo " "$? -head -n1 testimg.ppm | pamfile > ${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} +head -n1 testimg.ppm | pamfile > ${test_out} || \ + echo -n "Expected failure 3" + test -s ${test_out}; echo " "$? + rm -f {test_out} -- cgit 1.4.1