(hopefully) better random number generation to avoid test failures

This commit is contained in:
Andreas Lauser 2013-01-24 23:28:12 +01:00
parent 03af1e1ecb
commit 896beaad90

View File

@ -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