]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/506: call _require_scratch_xfs_scrub
authorChristoph Hellwig <hch@lst.de>
Fri, 12 Jan 2024 05:08:33 +0000 (06:08 +0100)
committerZorro Lang <zlang@kernel.org>
Sun, 14 Jan 2024 12:39:09 +0000 (20:39 +0800)
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>
tests/xfs/506

index 157dac293a021bb20e16e6a4e923c3bc6eab3ff7..1c75fefa76712b6e56adfd1423571f2eee94e080 100755 (executable)
@@ -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