diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-12-30 20:35:00 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-12-30 20:35:00 +0000 |
commit | 8c46a4c67e321801d99078a7fb22af6a20e4aa7b (patch) | |
tree | ba5d6e4eceb646d9892859b384f78d579a75bb66 /test/pgmnoise.test | |
parent | a24369691a810b5cb4f929618b080d82c8200938 (diff) | |
download | netpbm-mirror-8c46a4c67e321801d99078a7fb22af6a20e4aa7b.tar.gz netpbm-mirror-8c46a4c67e321801d99078a7fb22af6a20e4aa7b.tar.xz netpbm-mirror-8c46a4c67e321801d99078a7fb22af6a20e4aa7b.zip |
Copy Development as new Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3104 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pgmnoise.test')
-rwxr-xr-x | test/pgmnoise.test | 22 |
1 files changed, 3 insertions, 19 deletions
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 |