about summary refs log tree commit diff
path: root/test/utahrle-roundtrip.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/utahrle-roundtrip.test')
-rwxr-xr-xtest/utahrle-roundtrip.test15
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