about summary refs log tree commit diff
path: root/test/pgmcrater.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-01-02 16:28:37 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-01-02 16:28:37 +0000
commit71d4c2e05abc34d82d505c96af9bd918846f9cec (patch)
tree41e3c5cc4dcba05e59843dbed2cf8f4eca2c98d2 /test/pgmcrater.test
parente165c1cd02e9ea5b868b0a43b20e1bd96d40e6ff (diff)
downloadnetpbm-mirror-71d4c2e05abc34d82d505c96af9bd918846f9cec.tar.gz
netpbm-mirror-71d4c2e05abc34d82d505c96af9bd918846f9cec.tar.xz
netpbm-mirror-71d4c2e05abc34d82d505c96af9bd918846f9cec.zip
use aliases to make tests easier to read and modify; add white line to top in Pnmshear test
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2098 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pgmcrater.test')
-rwxr-xr-xtest/pgmcrater.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/pgmcrater.test b/test/pgmcrater.test
index e6942cee..ffba435f 100755
--- a/test/pgmcrater.test
+++ b/test/pgmcrater.test
@@ -1,6 +1,9 @@
 #! /bin/bash
 # This script tests: pgmcrater
 
+  alias pgmcrater="${PBM_TESTPREFIX}pgmcrater"
+  shopt -s expand_aliases
+
 # This test is sensitive to differences in floating point math.
 # With GCC slight results start to appear with -number 75 in
 # the following test.  Compiler type (GCC, Clang, etc.),
@@ -17,7 +20,7 @@ testrandom -q
 case $? in
    81)
       # Should print: 3828822912 65551
-      ${PBM_TESTPREFIX}pgmcrater -quiet -number 25 -randomseed 1 | cksum
+      pgmcrater -quiet -number 25 -randomseed 1 | cksum
       ;;
 
    8[02-9] | 90)