From: Christoph Hellwig Date: Fri, 12 Jan 2024 05:08:32 +0000 (+0100) Subject: xfs/262: call _require_scratch_xfs_scrub X-Git-Tag: v2024.01.14~25 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=35c3794f9d926886114bf9234f4d71bbe42da020;p=xfstests-dev.git xfs/262: call _require_scratch_xfs_scrub Call _require_scratch_xfs_scrub so that the test is _notrun on kernels without online scrub support. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/tests/xfs/262 b/tests/xfs/262 index b28a6c88..a4ff6a47 100755 --- a/tests/xfs/262 +++ b/tests/xfs/262 @@ -29,6 +29,9 @@ _require_xfs_io_error_injection "force_repair" echo "Format and populate" _scratch_mkfs > "$seqres.full" 2>&1 _scratch_mount + +_require_scratch_xfs_scrub + cp $XFS_SCRUB_PROG $SCRATCH_MNT/xfs_scrub $LDD_PROG $XFS_SCRUB_PROG | sed -e '/\//!d;/linux-gate/d;/=>/ {s/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/};s/[[:blank:]]*\([^[:blank:]]*\) (.*)/\1/' | while read lib; do cp $lib $SCRATCH_MNT/