Use /dev/urandom in sanity test_56ab so the data cannot be compressed
Test-Parameters: trivial testlist=sanity env=ONLY=56ab
Signed-off-by: Wei Liu <sarah@whamcloud.com>
Change-Id: Ib0108f4507a7b46ad5ca973ef43351e005232edf
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52572
Reviewed-by: Colin Faber <cfaber@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
test_56ab() { # LU-10705
test_mkdir $DIR/$tdir
- dd if=/dev/zero of=$DIR/$tdir/$tfile.1 bs=8k count=1 seek=2k
- dd if=/dev/zero of=$DIR/$tdir/$tfile.2 bs=4k count=1 seek=4k
- dd if=/dev/zero of=$DIR/$tdir/$tfile.3 bs=1M count=2 seek=16
+ dd if=/dev/urandom of=$DIR/$tdir/$tfile.1 bs=8k count=1 seek=2k
+ dd if=/dev/urandom of=$DIR/$tdir/$tfile.2 bs=4k count=1 seek=4k
+ dd if=/dev/urandom of=$DIR/$tdir/$tfile.3 bs=1M count=2 seek=16
# Flush writes to ensure valid blocks. Need to be more thorough for
# ZFS, since blocks are not allocated/returned to client immediately.
sync_all_data