about summary refs log tree commit diff
path: root/test/stdin-pbm1.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/stdin-pbm1.test')
-rwxr-xr-xtest/stdin-pbm1.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/stdin-pbm1.test b/test/stdin-pbm1.test
index 2155b3fa..4e99ba0b 100755
--- a/test/stdin-pbm1.test
+++ b/test/stdin-pbm1.test
@@ -29,15 +29,17 @@ for testprog in \
   do
   ${testprog} ${small_pbm} > ${out1};      status1=$?
   ${testprog} < ${small_pbm} > ${out2};    status2=$?
+  test -s ${out1};                         status3=$?
   cmp -s ${out1} ${out2}
-  echo ${testprog}": "${status1} ${status2} $?
+  echo ${testprog}": "${status1} ${status2} ${status3} $?
+  rm ${out1} ${out2}
   done
 
 rm ${small_pbm}
 
 # For Pbm converters not tested here see pbm-misc-converters.test
 
-# These programs do not have a converter in the opposite direction: 
+# These programs do not have a converter in the opposite direction:
 # Brushtopbm
 # Ddbugtopbm
 # Thinkjettopbm (?)