update randomization once more

It turns out that using the output of base64 for filenames is not a
too good idea.
This commit is contained in:
Andreas Lauser 2013-01-25 11:30:26 +01:00
parent 896beaad90
commit fb0f3902ee

View File

@ -64,7 +64,7 @@ echo "######################"
case "$TEST_TYPE" in case "$TEST_TYPE" in
"--simulation") "--simulation")
RND="$(dd if=/dev/urandom bs=10 count=1 2> /dev/null | base64 --wrap=0)" RND="$(dd if=/dev/urandom bs=20 count=1 2> /dev/null | md5sum | cut -d" " -f1)"
"$TEST_BINARY" $TEST_ARGS | tee "test-$RND.log" "$TEST_BINARY" $TEST_ARGS | tee "test-$RND.log"
RET="${PIPESTATUS[0]}" RET="${PIPESTATUS[0]}"
if test "$RET" != "0"; then if test "$RET" != "0"; then