Use /dev/urandom in sanity test_56ab so the data cannot be compressed
Lustre-change: https://review.whamcloud.com/52572
Lustre-commit: TBD (from
1ce661dd56fb4b6ecc9e909805c6101bbd9c3161)
Test-Parameters: trivial testlist=sanity env=ONLY=56ab
Signed-off-by: Wei Liu <sarah@whamcloud.com>
Change-Id: I0ceb9afcbdc8443b5e04dff486e41621479dbd23
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52501
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Colin Faber <cfaber@ddn.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