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/jbig-roundtrip.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/jbig-roundtrip.test')
-rwxr-xr-x | test/jbig-roundtrip.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/jbig-roundtrip.test b/test/jbig-roundtrip.test index 766148c6..9ce23f51 100755 --- a/test/jbig-roundtrip.test +++ b/test/jbig-roundtrip.test @@ -1,14 +1,14 @@ #! /bin/bash # This script tests: pnmtojbig jbigtopnm -# Also requires: ppmtopgm +# Also requires: pamchannel alias pnmtojbig="${PBM_TESTPREFIX}pnmtojbig" alias jbigtopnm="${PBM_TESTPREFIX}jbigtopnm" - alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm" shopt -s expand_aliases # Test 1. Should print 2425386270 41 pnmtojbig testgrid.pbm | jbigtopnm | cksum -# Test 2. Should print 2871603838 33838 -ppmtopgm testimg.ppm | pnmtojbig | jbigtopnm | cksum \ No newline at end of file +# Test 2. Should print 1571496937 33838 +pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \ + pnmtojbig | jbigtopnm | cksum |