diff options
author | Christoph Hellwig <hch@lst.de> | 2024-01-12 06:08:32 +0100 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2024-01-14 20:39:09 +0800 |
commit | 35c3794f9d926886114bf9234f4d71bbe42da020 (patch) | |
tree | 3a99e8df055e936878ad19b17492de128dbdf6e6 | |
parent | e0864962b2d6553db6ce6942befd2764aa7d766a (diff) | |
download | xfstests-dev-35c3794f9d926886114bf9234f4d71bbe42da020.tar.gz |
xfs/262: 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: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/xfs/262 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/xfs/262 b/tests/xfs/262 index b28a6c88b7..a4ff6a471c 100755 --- a/tests/xfs/262 +++ b/tests/xfs/262 @@ -29,6 +29,9 @@ _require_xfs_io_error_injection "force_repair" echo "Format and populate" _scratch_mkfs > "$seqres.full" 2>&1 _scratch_mount + +_require_scratch_xfs_scrub + cp $XFS_SCRUB_PROG $SCRATCH_MNT/xfs_scrub $LDD_PROG $XFS_SCRUB_PROG | sed -e '/\//!d;/linux-gate/d;/=>/ {s/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/};s/[[:blank:]]*\([^[:blank:]]*\) (.*)/\1/' | while read lib; do cp $lib $SCRATCH_MNT/ |