diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-27 17:33:56 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-12-27 17:33:56 +0000 |
commit | 6e629f983aa205c3eaa5f339f1c71bb5e7938049 (patch) | |
tree | a89f594443ac2330138f0bd0f19ee59135c2213f /test/pgmnoise.test | |
parent | ec52f41aabc9de9aac203c2f462252e403c7374a (diff) | |
download | netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.tar.gz netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.tar.xz netpbm-mirror-6e629f983aa205c3eaa5f339f1c71bb5e7938049.zip |
Promote Development to Advanced to make Release 10.97.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4222 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pgmnoise.test')
-rwxr-xr-x | test/pgmnoise.test | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/pgmnoise.test b/test/pgmnoise.test index ab98a5e2..4a6e21dd 100755 --- a/test/pgmnoise.test +++ b/test/pgmnoise.test @@ -1,6 +1,6 @@ #! /bin/bash # This script tests: pgmnoise -# Also requires: pgmhist pamvalidate +# Also requires: pgmhist pamvalidate pamfile echo "Test 1." echo "Should print: 2132901423 10015" # (Mersenne Twister) @@ -70,49 +70,49 @@ echo "-----------------------------------------------------------" 1>&2 pgmnoise 0 0 > ${test_out} || \ echo -n "Expected failure 1" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise 0 1 > ${test_out} || \ echo -n "Expected failure 2" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise 1 0 > ${test_out} || \ echo -n "Expected failure 3" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise > ${test_out} || \ echo -n "Expected failure 4" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise 1 > ${test_out} || \ echo -n "Expected failure 5" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise 100 -1 > ${test_out} || \ echo -n "Expected failure 6" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise -randomseed=-1 100 100 > ${test_out} || \ echo -n "Expected failure 7" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise -maxval=-1 100 100 > ${test_out} || \ echo -n "Expected failure 8" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise -maxval=0 100 100 > ${test_out} || \ echo -n "Expected failure 9" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} pgmnoise -maxval=$((256 * 256 * 256 * 256)) 10 10 > ${test_out} || \ echo -n "Expected failure 10" test -s ${test_out}; echo " "$? - rm -f {test_out} + rm -f ${test_out} |