about summary refs log tree commit diff
path: root/test/ppmforge.test
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-12-02 03:00:57 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-12-02 03:00:57 +0000
commit8cd418cff0eae8d2190a165202f1efb9f0cb9046 (patch)
treec1703b93d27a322d725930270512bd32bdad74e3 /test/ppmforge.test
parent33df17eedb1d9220f280115a3300ac655ac03a38 (diff)
downloadnetpbm-mirror-8cd418cff0eae8d2190a165202f1efb9f0cb9046.tar.gz
netpbm-mirror-8cd418cff0eae8d2190a165202f1efb9f0cb9046.tar.xz
netpbm-mirror-8cd418cff0eae8d2190a165202f1efb9f0cb9046.zip
Make tests work on Mac OS
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3096 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/ppmforge.test')
-rwxr-xr-xtest/ppmforge.test17
1 files changed, 3 insertions, 14 deletions
diff --git a/test/ppmforge.test b/test/ppmforge.test
index 65280d14..3ebea88c 100755
--- a/test/ppmforge.test
+++ b/test/ppmforge.test
@@ -4,17 +4,6 @@
 
 # Use small x y values to avoid floating point issues.
 
-
-testrandom -q
-case $? in
-   81)
-      # Test 1: Should print: 3634219838 196623
-      ppmforge -night -seed 1 | cksum
-      ;;
-
-   8[02-9] | 90)
-       echo "Skipping: random number generator is not glibc." 1>&2
-       exit 80;;
-
-   *)  exit 1;;  # testrandom failed
-esac
+# Should print: 3634219838 196623 (Glibc)
+#               3262664440 196623 (MAC OS)
+ppmforge -night -seed 1 | cksum