diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-07-06 22:04:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-07-06 22:04:28 +0000 |
commit | 2a82091a45d67cadfc93148176a446ffd67021f6 (patch) | |
tree | 97de970b798441206a6294867eac8a8b9ea49b3b /test/pamenlarge.test | |
parent | 9ebbf59ad1a4272a182172f190908ea3f4d7227b (diff) | |
download | netpbm-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/pamenlarge.test')
-rwxr-xr-x | test/pamenlarge.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/pamenlarge.test b/test/pamenlarge.test index c1958d14..8f9e3c70 100755 --- a/test/pamenlarge.test +++ b/test/pamenlarge.test @@ -1,15 +1,15 @@ #! /bin/bash # This script tests: pamenlarge -# Also requires: ppmtopgm +# Also requires: pamchannel alias pamenlarge="${PBM_TESTPREFIX}pamenlarge" - alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm" shopt -s expand_aliases # Test 1. Should print 3424505894 913236 pamenlarge 3 testimg.ppm | cksum -# Test 2. Should print 4152147096 304422 -ppmtopgm testimg.ppm | pamenlarge 3 | cksum +# Test 2. Should print 3763267672 304422 +pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \ + pamenlarge 3 | cksum # Test 3. Should print 3342398172 297 pamenlarge 3 testgrid.pbm | cksum # Test 4. Should print 237488670 3133413 |