]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfs: add missing _require_scratch calls
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Oct 2023 13:11:03 +0000 (15:11 +0200)
committerZorro Lang <zlang@kernel.org>
Sun, 22 Oct 2023 06:38:17 +0000 (14:38 +0800)
Add _require_scratch to a bunch of test that were using $SCRATCH_DEV
without that check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/184
tests/xfs/192
tests/xfs/200
tests/xfs/204
tests/xfs/232

index 3bdd86addf2430021666538c569c50bc2bfef2cb..97f529f666edf5a84fccdda6aabef91bed5e3f7a 100755 (executable)
@@ -19,6 +19,7 @@ _begin_fstest auto quick clone fiemap unshare
 
 # real QA test starts here
 _supported_fs xfs
+_require_scratch
 _require_scratch_delalloc
 _require_scratch_reflink
 _require_cp_reflink
index eb577f15fccaf763c7857e7e76744957a0dacaae..ef7da55be50b3d42515ab888880ce24ba880a04c 100755 (executable)
@@ -19,6 +19,7 @@ _begin_fstest auto quick clone fiemap unshare
 
 # real QA test starts here
 _supported_fs xfs
+_require_scratch
 _require_scratch_delalloc
 _require_scratch_reflink
 _require_cp_reflink
index b51b9a54f57bac6eeb14d4c02318ef278bb8635e..a9d6ce1bb6dab6337c3ddf4c3008a6568fcd60ea 100755 (executable)
@@ -21,6 +21,7 @@ _begin_fstest auto quick clone fiemap unshare
 
 # real QA test starts here
 _supported_fs xfs
+_require_scratch
 _require_scratch_delalloc
 _require_scratch_reflink
 _require_cp_reflink
index 7d6b79a86d999d771e22087d250ef0217059e72e..7dacfa2de7138c25c892c962f0b6a1d80c626825 100755 (executable)
@@ -21,6 +21,7 @@ _begin_fstest auto quick clone fiemap unshare
 
 # real QA test starts here
 _supported_fs xfs
+_require_scratch
 _require_scratch_delalloc
 _require_scratch_reflink
 _require_cp_reflink
index 59bbc43686d30e0ab16a92c846a9ccec387ed371..0cb26fa1cd7d8cb7de1ce70b057b898205b2ba97 100755 (executable)
@@ -30,6 +30,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_fs xfs
+_require_scratch
 _require_scratch_delalloc
 _require_xfs_io_command "cowextsize"
 _require_scratch_reflink