about summary refs log tree commit diff
path: root/test/pamchannel.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/pamchannel.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/pamchannel.test')
-rwxr-xr-xtest/pamchannel.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/pamchannel.test b/test/pamchannel.test
index e3da552c..9ac71f13 100755
--- a/test/pamchannel.test
+++ b/test/pamchannel.test
@@ -6,7 +6,6 @@
   alias pamtopnm="${PBM_BINPREFIX}pamtopnm"
   shopt -s expand_aliases
 
-
 # Extract planes one by one.
 # Convert output to pgm to make it identical to ppmtorgb3 output.
 
@@ -26,8 +25,8 @@ pamchannel -infile testimg.ppm 0 | \
 # Test 2. green channel
 # Should produce  394856971 33838
 
-pamchannel -infile testimg.ppm 1 | \
-  pamtopnm --assume | cksum
+pamchannel -infile testimg.ppm -tupletype="GRAYSCALE" 1 | \
+  pamtopnm | cksum
 
 # Test 3. blue channel
 # Should produce 3164158573 33838