From ab0c766d2017b89809dcb1194c3f77baa6c060be Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Fri, 12 Jan 2024 06:08:33 +0100 Subject: [PATCH] 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 --- tests/xfs/506 | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5