This test uses xfs_scrub which is an EXPERIMENTAL and unstable feature.
Add _require_scrub to check if the system supports it.
Signed-off-by: Xinjian Ma <maxj.fnst@fujitsu.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
# until after the directory repair code was merged
_require_xfs_io_command repair -R directory
_require_scratch_nocheck # repair doesn't like single-AG fs
+_require_scrub
# From the AGI definition
XFS_AGI_UNLINKED_BUCKETS=64