summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/regression3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/regression b/tests/regression
index ef98c3d..1496294 100755
--- a/tests/regression
+++ b/tests/regression
@@ -272,7 +272,8 @@ function generate_random_data() {
else
rcount=$[ ($RANDOM % 8) + 1 ]
fi
- rdata=$(echo $(</dev/urandom tr -dc A-Za-z0-9 | head -c"$rcount"))
+ rdata=$(dd if=/dev/urandom bs=64 count=1 status=none | \
+ md5sum | awk '{ print $1 }' | head -c"$rcount")
echo "$rdata"
}