]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/603: add _require_scrub
authorXinjian Ma <maxj.fnst@fujitsu.com>
Tue, 10 Jun 2025 09:11:34 +0000 (17:11 +0800)
committerZorro Lang <zlang@kernel.org>
Fri, 20 Jun 2025 16:46:47 +0000 (00:46 +0800)
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>
tests/xfs/603

index 04122b55c3f0c488b1b482bc0bd27e79fe7bd7a7..d6058a3ee9d8584f9b55a2316d88b2085d321a31 100755 (executable)
@@ -20,6 +20,7 @@ _require_xfs_db_command iunlink
 # 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