From: John L. Hammond Date: Fri, 15 Dec 2017 18:48:21 +0000 (-0600) Subject: LU-10399 test: use /dev/urandom in sanity-hsm test_1b() X-Git-Tag: 2.10.57~40 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F56%2F30556%2F3;p=fs%2Flustre-release.git 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 --- 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)