diff options
Diffstat (limited to 'test/pgmnoise-parameters.test')
-rwxr-xr-x | test/pgmnoise-parameters.test | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/test/pgmnoise-parameters.test b/test/pgmnoise-parameters.test index 1682afca..d2a96530 100755 --- a/test/pgmnoise-parameters.test +++ b/test/pgmnoise-parameters.test @@ -11,16 +11,26 @@ echo "Error messages should appear below the line." 1>&2 echo "-----------------------------------------------------------" 1>&2 pgmnoise -maxval=255 -randomseed=1 > ${test_out} || \ - echo -n "Expected failure 1"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 1" + test -s ${test_out}; echo " "$? + rm -f {test_out} pgmnoise 100 -randomseed=1 > ${test_out} || \ - echo -n "Expected failure 2"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 2" + test -s ${test_out}; echo " "$? + rm -f {test_out} pgmnoise 100 0 -randomseed=1 > ${test_out} || \ - echo -n "Expected failure 3"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 3" + test -s ${test_out}; echo " "$? + rm -f {test_out} pgmnoise 0 100 -randomseed=1 > ${test_out} || \ - echo -n "Expected failure 4"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 4" + test -s ${test_out}; echo " "$? + rm -f {test_out} pgmnoise 100 100 100 -randomseed=1 > ${test_out} || \ - echo -n "Expected failure 5"; test -s ${test_out}; echo " "$? + echo -n "Expected failure 5" + test -s ${test_out}; echo " "$? + rm -f {test_out} |