From: Christoph Hellwig Date: Fri, 12 Jan 2024 05:08:33 +0000 (+0100) Subject: xfs/506: call _require_scratch_xfs_scrub X-Git-Tag: v2024.01.14~24 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ab0c766d2017b89809dcb1194c3f77baa6c060be;p=xfstests-dev.git xfs/506: 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: Zorro Lang Reviewed-by: Darrick J. Wong Signed-off-by: Zorro Lang --- diff --git a/tests/xfs/506 b/tests/xfs/506 index 157dac29..1c75fefa 100755 --- a/tests/xfs/506 +++ b/tests/xfs/506 @@ -21,6 +21,9 @@ _require_xfs_spaceman_command "health" _scratch_mkfs > $seqres.full 2>&1 _scratch_mount + +_require_scratch_xfs_scrub + _scratch_cycle_mount # make sure we haven't run quotacheck on this mount # Haven't checked anything, it should tell us to run scrub