about summary refs log tree commit diff
path: root/test/ppmchange-roundtrip.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-03-30 17:12:47 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-03-30 17:12:47 +0000
commit04afde0b11367018d95be801c543fdcf16420b5d (patch)
tree8c1ecbdf40aa57ff7fe47234708e3a2995d2b641 /test/ppmchange-roundtrip.test
parentfbf4dcdf76bf004ea45a762e8399268cc388ae19 (diff)
downloadnetpbm-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/ppmchange-roundtrip.test')
-rwxr-xr-xtest/ppmchange-roundtrip.test18
1 files changed, 12 insertions, 6 deletions
diff --git a/test/ppmchange-roundtrip.test b/test/ppmchange-roundtrip.test
index c303c11b..a357870e 100755
--- a/test/ppmchange-roundtrip.test
+++ b/test/ppmchange-roundtrip.test
@@ -2,10 +2,16 @@
 # This script tests: ppmchange
 # Also requires: pgmtopbm pnminvert ppmtopgm
 
-${PBM_TESTPREFIX}ppmchange black white white black testgrid.pbm | \
-${PBM_BINPREFIX}pnminvert | ${PBM_BINPREFIX}ppmtopgm | \
-${PBM_BINPREFIX}pgmtopbm -th -val=0.5 | cksum
+  alias ppmchange="${PBM_TESTPREFIX}ppmchange"
+  alias pgmtopbm="${PBM_BINPREFIX}pgmtopbm"
+  alias pnminvert="${PBM_BINPREFIX}pnminvert"
+  alias ppmtopgm="${PBM_BINPREFIX}ppmtopgm"
+  shopt -s expand_aliases
 
-${PBM_TESTPREFIX}ppmchange  black white white black testgrid.pbm | \
-${PBM_TESTPREFIX}ppmchange  black white white black -plain  | \
-${PBM_BINPREFIX}ppmtopgm | ${PBM_BINPREFIX}pgmtopbm -th -val=0.5 | cksum
+ppmchange black white white black testgrid.pbm | \
+pnminvert | ppmtopgm | \
+pgmtopbm -th -val=0.5 | cksum
+
+ppmchange  black white white black testgrid.pbm | \
+ppmchange  black white white black -plain  | \
+ppmtopgm | pgmtopbm -th -val=0.5 | cksum