about summary refs log tree commit diff
path: root/test/pgmnoise.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pgmnoise.test')
-rwxr-xr-xtest/pgmnoise.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/pgmnoise.test b/test/pgmnoise.test
index 60d06510..a5c1c380 100755
--- a/test/pgmnoise.test
+++ b/test/pgmnoise.test
@@ -2,6 +2,9 @@
 # This script tests: pgmnoise
 # Also requires: 
 
+  alias pgmnoise="${PBM_TESTPREFIX}pgmnoise"
+  shopt -s expand_aliases
+
 # We first check whether random number generator is glibc rand().
 # If not, this test is skipped.
 
@@ -10,7 +13,7 @@ testrandom
 case $? in
    81)
         # Should print: 1663614689 10015
-        ${PBM_TESTPREFIX}pgmnoise --randomseed=0 100 100 | cksum ;;
+        pgmnoise --randomseed=0 100 100 | cksum ;;
 
         # Any additional tests go here.