From 1be24bba318efc49e6784743475ca49f31b66be1 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Sat, 8 Feb 2025 08:46:18 -0500 Subject: [PATCH] LU-18651 tests: use urandom in sanity-pfl test 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 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58019 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin Reviewed-by: Timothy Day Reviewed-by: Alex Zhuravlev --- lustre/tests/sanity-pfl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity-pfl.sh b/lustre/tests/sanity-pfl.sh index 578bb27..0ae0a84 100755 --- a/lustre/tests/sanity-pfl.sh +++ b/lustre/tests/sanity-pfl.sh @@ -1792,7 +1792,7 @@ test_20c() { 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" -- 1.8.3.1