about summary refs log tree commit diff
path: root/test/ppmdither.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/ppmdither.test')
-rwxr-xr-xtest/ppmdither.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/ppmdither.test b/test/ppmdither.test
index 5fea0bb4..a93a434a 100755
--- a/test/ppmdither.test
+++ b/test/ppmdither.test
@@ -2,6 +2,9 @@
 # This script tests: ppmdither
 # Also requires: 
 
-${PBM_TESTPREFIX}ppmdither testimg.ppm | cksum
-${PBM_TESTPREFIX}ppmdither -red 2 -green 2 -blue 2 testimg.ppm | cksum
-${PBM_TESTPREFIX}ppmdither -dim 2 testimg.ppm | cksum
+  alias ppmdither="${PBM_TESTPREFIX}ppmdither"
+  shopt -s expand_aliases
+
+ppmdither testimg.ppm | cksum
+ppmdither -red 2 -green 2 -blue 2 testimg.ppm | cksum
+ppmdither -dim 2 testimg.ppm | cksum