From 27723a678f780da82c79b98592592009c779a4fb Mon Sep 17 00:00:00 2001 From: jcfp Date: Thu, 6 Aug 2015 19:12:53 +0200 Subject: [PATCH] Use /dev/urandom in test 20 The build process hangs for a long time while test 20 reads from /dev/random. On my desktop it eventually completed without error after more than half an hour, on a virtualbox vm it takes even longer. Using /dev/urandom instead prevents this delay. --- tests/test20 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test20 b/tests/test20 index cbedaf32..5a5a007e 100755 --- a/tests/test20 +++ b/tests/test20 @@ -16,7 +16,7 @@ echo $dashes echo $banner echo $dashes -dd bs=1000 count=2 iflag=fullblock if=/dev/random of=myfile.dat +dd bs=1000 count=2 iflag=fullblock if=/dev/urandom of=myfile.dat banner="Creating PAR 2.0 recovery data" dashes=`echo "$banner" | sed s/./-/g`