summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-01-12 06:08:33 +0100
committerZorro Lang <zlang@kernel.org>2024-01-14 20:39:09 +0800
commitab0c766d2017b89809dcb1194c3f77baa6c060be (patch)
tree0abda1e23c84a2d4de5e08c5d3d5656040a5b653
parent35c3794f9d926886114bf9234f4d71bbe42da020 (diff)
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 <hch@lst.de> Reviewed-by: Zorro Lang <zlang@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/xfs/5063
1 files changed, 3 insertions, 0 deletions
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