about summary refs log tree commit diff
path: root/test/411toppm.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/411toppm.test')
-rwxr-xr-xtest/411toppm.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/411toppm.test b/test/411toppm.test
index ce374f29..335cdcc8 100755
--- a/test/411toppm.test
+++ b/test/411toppm.test
@@ -2,6 +2,9 @@
 # This script tests: 411toppm
 # Also requires: 
 
+  alias 411toppm="${PBM_TESTPREFIX}411toppm"
+  shopt -s expand_aliases
+
 # Test 1. should produce: 240376509 9229
 # The above value is what 411toppm has been always producing.
 # 411toppm's author Steve Allen says he was not able to obtain accurate
@@ -9,4 +12,4 @@
 #
 # See comment at head of source file 411toppm.c.
 
-head -c 4608 /dev/zero | ${PBM_TESTPREFIX}411toppm -quiet | cksum
+head -c 4608 /dev/zero | 411toppm -quiet | cksum