about summary refs log tree commit diff
path: root/test/ppmtopgm.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/ppmtopgm.test')
-rwxr-xr-xtest/ppmtopgm.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ppmtopgm.test b/test/ppmtopgm.test
index 7ab481c6..94e0ae91 100755
--- a/test/ppmtopgm.test
+++ b/test/ppmtopgm.test
@@ -2,6 +2,9 @@
 # This script tests: ppmtopgm
 # Also requires: 
 
+  alias ppmtopgm="${PBM_TESTPREFIX}ppmtopgm"
+  shopt -s expand_aliases
+
 # Test 1. Should produce 2871603838 33838
-${PBM_TESTPREFIX}ppmtopgm testimg.ppm | cksum
+ppmtopgm testimg.ppm | cksum