about summary refs log tree commit diff
path: root/test/pgmhist.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pgmhist.test')
-rwxr-xr-xtest/pgmhist.test10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/pgmhist.test b/test/pgmhist.test
index b3361dc4..32b18189 100755
--- a/test/pgmhist.test
+++ b/test/pgmhist.test
@@ -2,10 +2,14 @@
 # This script tests: pgmhist
 # Also requires: pgmramp
 
+  alias pgmhist="${PBM_TESTPREFIX}pgmhist"
+  alias pgmramp="${PBM_BINPREFIX}pgmramp"
+  shopt -s expand_aliases
+
 # Ignore differences in spaces.
 
-${PBM_BINPREFIX}pgmramp -maxval=8 -lr 8 2 | ${PBM_TESTPREFIX}pgmhist | \
+pgmramp -maxval=8 -lr 8 2 | pgmhist | \
   sed -e 's/  */ /g' -e 's/ *$//'
 
-${PBM_TESTPREFIX}pgmhist testgrid.pbm | \
-  sed -e 's/  */ /g' -e 's/ *$//'
\ No newline at end of file
+pgmhist testgrid.pbm | \
+  sed -e 's/  */ /g' -e 's/ *$//'