about summary refs log tree commit diff
path: root/test/pbmmake.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pbmmake.test')
-rwxr-xr-xtest/pbmmake.test11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/pbmmake.test b/test/pbmmake.test
index 82fdb941..eb4b472d 100755
--- a/test/pbmmake.test
+++ b/test/pbmmake.test
@@ -2,17 +2,20 @@
 # This script tests: pbmmake
 # Also requires: 
 
+  alias pbmmake="${PBM_TESTPREFIX}pbmmake"
+  shopt -s expand_aliases
+
 for i in `seq 1 8`
 do
 for color in -w -b -g
 do
-${PBM_TESTPREFIX}pbmmake -plain $color $i $i | tr -d '\n'; echo
+pbmmake -plain $color $i $i | tr -d '\n'; echo
 done
 done
 for i in `seq 8 5 98`
 do
- ( ${PBM_TESTPREFIX}pbmmake -w $i $i ;
-  ${PBM_TESTPREFIX}pbmmake -b $i $i ;
-  ${PBM_TESTPREFIX}pbmmake  -g $i $i ) | cksum
+ ( pbmmake -w $i $i ;
+  pbmmake -b $i $i ;
+  pbmmake  -g $i $i ) | cksum
 done