about summary refs log tree commit diff
path: root/test/ppmbrighten.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/ppmbrighten.test')
-rwxr-xr-xtest/ppmbrighten.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/ppmbrighten.test b/test/ppmbrighten.test
index 72bebff4..29cfeb2c 100755
--- a/test/ppmbrighten.test
+++ b/test/ppmbrighten.test
@@ -2,6 +2,9 @@
 # This script tests: ppmbrighten
 # Also requires: 
 
-${PBM_TESTPREFIX}ppmbrighten -v 100 testimg.ppm | cksum
-${PBM_TESTPREFIX}ppmbrighten -v 100 -normalize testimg.ppm | cksum
-${PBM_TESTPREFIX}ppmbrighten -s 100 -v -50 testimg.ppm | cksum
+  alias ppmbrighten="${PBM_TESTPREFIX}ppmbrighten"
+  shopt -s expand_aliases
+
+ppmbrighten -v 100 testimg.ppm | cksum
+ppmbrighten -v 100 -normalize testimg.ppm | cksum
+ppmbrighten -s 100 -v -50 testimg.ppm | cksum