With newer ZF having compression on test using dd with /dev/zero
will fail. Change the sanity-pfl test to use /dev/urandom
instead.
Change-Id: I508611fd3cee96bab623e3e12fbc1cad060b72f7
Test-Parameters: trivial fstype=zfs testlist=sanity-pfl
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58019
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
stack_trap "ost_watermarks_clear_enospc $tfile $ost_idx1 $wms" EXIT
stack_trap "ost_watermarks_clear_enospc $tfile $ost_idx2 $wms2" EXIT
- dd if=/dev/zero of=$comp_file bs=1M count=1 seek=120 &&
+ dd if=/dev/urandom of=$comp_file bs=1M count=1 seek=120 &&
error "dd should fail with ENOSPC"
flg_opts="--comp-flags init"