about summary refs log tree commit diff
path: root/test/ppmforge.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-07-07 17:00:14 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-07-07 17:00:14 +0000
commit4ce73a575f35b9c71b373c8176a2f8e70d4b1bb0 (patch)
tree6effecc25eeea480879836d37986a23db79486e4 /test/ppmforge.test
parent8bc04132312c3602ff99706dae49677aec0b2041 (diff)
downloadnetpbm-mirror-4ce73a575f35b9c71b373c8176a2f8e70d4b1bb0.tar.gz
netpbm-mirror-4ce73a575f35b9c71b373c8176a2f8e70d4b1bb0.tar.xz
netpbm-mirror-4ce73a575f35b9c71b373c8176a2f8e70d4b1bb0.zip
Add 'testrandom', use it instead of pgmnoise --testrandom (code for which was never released) in the tests
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1976 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/ppmforge.test')
-rw-r--r--test/ppmforge.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/ppmforge.test b/test/ppmforge.test
index 014dc543..5ec37e9c 100644
--- a/test/ppmforge.test
+++ b/test/ppmforge.test
@@ -1,11 +1,10 @@
 #! /bin/bash
 # This script tests: ppmforge
-# Also requires: pgmnoise
 
 # Use small x y values to avoid floating point issues.
 
 
-${PBM_BINPREFIX}pgmnoise --testrandom --quiet
+testrandom -q
 case $? in
    81)
       # Test 1: Should print: 3634219838 196623
@@ -16,5 +15,5 @@ case $? in
        echo "Skipping: random number generator is not glibc." 1>&2
        exit 80;;
 
-   *)  exit 1;;  # pgmnoise --testrandom failed
+   *)  exit 1;;  # testrandom failed
 esac