From 54cf0962e286b8f1bcfca490cf828fd126f1fa60 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Fri, 15 Dec 2017 12:48:21 -0600 Subject: [PATCH] LU-10399 test: use /dev/urandom in sanity-hsm test_1b() In sanity-hsm test_1b() use /dev/urandom instead of /dev/random so we won't have to wait for the second law of thermodynamics to become true. Test-Parameters: trivial testlist=sanity-hsm Signed-off-by: John L. Hammond Change-Id: Ib64691fd6ee1a172c631ffa55956e1d69f24d349 Reviewed-on: https://review.whamcloud.com/30556 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu Reviewed-by: Quentin Bouget --- lustre/tests/sanity-hsm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index 0f8c44f..bd7eedd 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -1063,7 +1063,7 @@ test_1b() { local f=$DIR/$tdir/$tfile rm -f $f - dd if=/dev/random of=$f bs=1M count=1 conv=sync || + dd if=/dev/urandom of=$f bs=1M count=1 conv=sync || error "failed to create file" local fid=$(path2fid $f) -- 1.8.3.1