From 8cd418cff0eae8d2190a165202f1efb9f0cb9046 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 2 Dec 2017 03:00:57 +0000 Subject: Make tests work on Mac OS git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3096 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- test/pgmnoise.test | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'test/pgmnoise.test') diff --git a/test/pgmnoise.test b/test/pgmnoise.test index 0b38553b..03301ce6 100755 --- a/test/pgmnoise.test +++ b/test/pgmnoise.test @@ -2,22 +2,6 @@ # This script tests: pgmnoise # Also requires: - -# We first check whether random number generator is glibc rand(). -# If not, this test is skipped. - -testrandom - -case $? in - 81) - # Should print: 1663614689 10015 - pgmnoise --randomseed=0 100 100 | cksum ;; - - # Any additional tests go here. - - 8[02-9] | 90) - echo "Skipping: random number generator is not glibc." 1>&2 - exit 80;; - - *) exit 1;; # testrandom failed -esac +# Should print: 1663614689 10015 (Glibc) +# 3516404574 10015 (MAC OS) +pgmnoise --randomseed=0 100 100 | cksum -- cgit 1.4.1