about summary refs log tree commit diff
path: root/test/pnmtile.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/pnmtile.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/pnmtile.test')
-rwxr-xr-xtest/pnmtile.test12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/pnmtile.test b/test/pnmtile.test
index 0f9d91df..f74bdce3 100755
--- a/test/pnmtile.test
+++ b/test/pnmtile.test
@@ -2,11 +2,15 @@
 # This script tests: pnmtile
 # Also requires: pnmcat
 
-${PBM_TESTPREFIX}pnmtile 40 50 testgrid.pbm | cksum
+  alias pnmtile="${PBM_TESTPREFIX}pnmtile"
+  alias pnmcat="${PBM_BINPREFIX}pnmcat"
+  shopt -s expand_aliases
 
-${PBM_TESTPREFIX}pnmtile 454 298 testimg.ppm > ${tmpdir}/testimg4.ppm &&
-${PBM_BINPREFIX}pnmcat -lr testimg.ppm testimg.ppm > ${tmpdir}/testimg2.ppm &&
-${PBM_BINPREFIX}pnmcat -tb ${tmpdir}/testimg2.ppm ${tmpdir}/testimg2.ppm | \
+pnmtile 40 50 testgrid.pbm | cksum
+
+pnmtile 454 298 testimg.ppm > ${tmpdir}/testimg4.ppm &&
+pnmcat -lr testimg.ppm testimg.ppm > ${tmpdir}/testimg2.ppm &&
+pnmcat -tb ${tmpdir}/testimg2.ppm ${tmpdir}/testimg2.ppm | \
 cmp -s - ${tmpdir}/testimg4.ppm
 echo $?