about summary refs log tree commit diff
path: root/test/stdin-pam1.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-03-12 21:30:37 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-03-12 21:30:37 +0000
commit12fb730de9ce241bbb9f5accaf3ef7378d7f310d (patch)
tree9e343f0d57324a5e74f66ccb34d65be2f4e571a8 /test/stdin-pam1.test
parent35631a7b3e08c1eedfe91c32be9a0a93effa07eb (diff)
downloadnetpbm-mirror-12fb730de9ce241bbb9f5accaf3ef7378d7f310d.tar.gz
netpbm-mirror-12fb730de9ce241bbb9f5accaf3ef7378d7f310d.tar.xz
netpbm-mirror-12fb730de9ce241bbb9f5accaf3ef7378d7f310d.zip
New stdin tests; test whether output is actually produced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4305 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/stdin-pam1.test')
-rwxr-xr-xtest/stdin-pam1.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/stdin-pam1.test b/test/stdin-pam1.test
index 98904721..68d0d34c 100755
--- a/test/stdin-pam1.test
+++ b/test/stdin-pam1.test
@@ -6,7 +6,7 @@
 # This script tests: pammixinterlace pammosaicknit pamoil
 # This script tests: pamperspective pamrecolor pamrubber pamscale
 # This script tests: pamshadedrelief pamsharpness pamsistoaglyph
-# This script tests: pamslice pamsplit pamstack pamstereogram pamstretch
+# This script tests: pamslice pamstack pamstereogram pamstretch
 # This script tests: pamstretch-gen pamsumm pamsummcol pamtable pamthreshold
 # This script tests: pamtilt pamtopnm pamwipeout
 # Also requires: pbmmake
@@ -49,7 +49,6 @@ for testprog in \
     pamsharpness \
     pamsistoaglyph \
     "pamslice -row=1" \
-    pamsplit \
     pamstack \
     "pamstereogram -randomseed=1" \
     "pamstretch 1" \
@@ -60,12 +59,13 @@ for testprog in \
     pamthreshold \
     pamtilt \
     pamtopnm \
-    "pamwipeout -tb"   
+    "pamwipeout -tb"
   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