diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-03-30 17:12:47 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-03-30 17:12:47 +0000 |
commit | 04afde0b11367018d95be801c543fdcf16420b5d (patch) | |
tree | 8c1ecbdf40aa57ff7fe47234708e3a2995d2b641 /test/utahrle-roundtrip.test | |
parent | fbf4dcdf76bf004ea45a762e8399268cc388ae19 (diff) | |
download | netpbm-mirror-04afde0b11367018d95be801c543fdcf16420b5d.tar.gz netpbm-mirror-04afde0b11367018d95be801c543fdcf16420b5d.tar.xz netpbm-mirror-04afde0b11367018d95be801c543fdcf16420b5d.zip |
Update to current Development release - 10.66.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2172 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/utahrle-roundtrip.test')
-rwxr-xr-x | test/utahrle-roundtrip.test | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/test/utahrle-roundtrip.test b/test/utahrle-roundtrip.test index 7113a2d5..83bc6c90 100755 --- a/test/utahrle-roundtrip.test +++ b/test/utahrle-roundtrip.test @@ -2,13 +2,18 @@ # This script tests: pnmtorle rletopnm # Also requires: ppmtopgm + alias pnmtorle="${PBM_TESTPREFIX}pnmtorle" + alias rletopnm="${PBM_TESTPREFIX}rletopnm" + alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm" + shopt -s expand_aliases + #Test 1. Should print 2871603838 33838, cksum of testimg.pgm -${PBM_BINPREFIX}ppmtopgm testimg.ppm > ${tmpdir}/testimg.pgm -${PBM_TESTPREFIX}pnmtorle ${tmpdir}/testimg.pgm | \ - ${PBM_TESTPREFIX}rletopnm | cksum +ppmtopgm testimg.ppm > ${tmpdir}/testimg.pgm +pnmtorle ${tmpdir}/testimg.pgm | \ + rletopnm | cksum rm ${tmpdir}/testimg.pgm #Test 2. Should print 1926073387 101484, cksum of testimg.ppm -${PBM_TESTPREFIX}pnmtorle testimg.ppm | \ - ${PBM_TESTPREFIX}rletopnm | cksum +pnmtorle testimg.ppm | \ + rletopnm | cksum |