mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
(hopefully) better random number generation to avoid test failures
This commit is contained in:
parent
03af1e1ecb
commit
896beaad90
@ -64,7 +64,7 @@ echo "######################"
|
||||
|
||||
case "$TEST_TYPE" in
|
||||
"--simulation")
|
||||
RND="$RANDOM"
|
||||
RND="$(dd if=/dev/urandom bs=10 count=1 2> /dev/null | base64 --wrap=0)"
|
||||
"$TEST_BINARY" $TEST_ARGS | tee "test-$RND.log"
|
||||
RET="${PIPESTATUS[0]}"
|
||||
if test "$RET" != "0"; then
|
||||
|
Loading…
Reference in New Issue
Block a user