about summary refs log tree commit diff
path: root/test/pamfile.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-07-06 22:04:28 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-07-06 22:04:28 +0000
commit2a82091a45d67cadfc93148176a446ffd67021f6 (patch)
tree97de970b798441206a6294867eac8a8b9ea49b3b /test/pamfile.test
parent9ebbf59ad1a4272a182172f190908ea3f4d7227b (diff)
downloadnetpbm-mirror-2a82091a45d67cadfc93148176a446ffd67021f6.tar.gz
netpbm-mirror-2a82091a45d67cadfc93148176a446ffd67021f6.tar.xz
netpbm-mirror-2a82091a45d67cadfc93148176a446ffd67021f6.zip
Use red plane of testimg.ppm for test PGM input; rewrite file names which use tmpdir in the manner of symmetry.test; add some failure messages
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2225 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamfile.test')
-rwxr-xr-xtest/pamfile.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/pamfile.test b/test/pamfile.test
index 689578f1..1c1d3d23 100755
--- a/test/pamfile.test
+++ b/test/pamfile.test
@@ -1,11 +1,14 @@
 #! /bin/bash
 # This script tests: pamfile
-# Also requires: ppmtopgm
+# Also requires: pamchannel
 
   alias pamfile="${PBM_TESTPREFIX}pamfile"
-  alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm"
   shopt -s expand_aliases
 
 pamfile testimg.ppm
 pamfile testgrid.pbm
-ppmtopgm testimg.ppm | pamfile
+pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | pamfile
+pamchannel -tupletype="GRAYSCALE" -infile=testimg.ppm 0 | pamfile
+
+
+