about summary refs log tree commit diff
path: root/test/pfm-roundtrip.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pfm-roundtrip.test')
-rwxr-xr-xtest/pfm-roundtrip.test9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/pfm-roundtrip.test b/test/pfm-roundtrip.test
index 7cd2693c..650cc4d0 100755
--- a/test/pfm-roundtrip.test
+++ b/test/pfm-roundtrip.test
@@ -2,6 +2,11 @@
 # This script tests: pamtopfm pfmtopam
 # Also requires: pamtopnm
 
+  alias pamtopfm="${PBM_TESTPREFIX}pamtopfm"
+  alias pfmtopam="${PBM_TESTPREFIX}pfmtopam"
+  alias pamtopnm="${PBM_BINPREFIX}pamtopnm"
+  shopt -s expand_aliases
+
 # Should print 1926073387 101484, cksum of testimg.ppm
-${PBM_TESTPREFIX}pamtopfm testimg.ppm | ${PBM_TESTPREFIX}pfmtopam | \
-  ${PBM_BINPREFIX}pamtopnm | cksum
+pamtopfm testimg.ppm | pfmtopam | \
+  pamtopnm | cksum