[PATCH 2/2] xfs: add missing _require_scratch calls

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Add _require_scratch to a bunch of test that were using $SCRATCH_DEV
without that check.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
 tests/xfs/184 | 1 +
 tests/xfs/192 | 1 +
 tests/xfs/200 | 1 +
 tests/xfs/204 | 1 +
 tests/xfs/232 | 1 +
 5 files changed, 5 insertions(+)

diff --git a/tests/xfs/184 b/tests/xfs/184
index 3bdd86ad..97f529f6 100755
--- a/tests/xfs/184
+++ b/tests/xfs/184
@@ -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
diff --git a/tests/xfs/192 b/tests/xfs/192
index eb577f15..ef7da55b 100755
--- a/tests/xfs/192
+++ b/tests/xfs/192
@@ -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
diff --git a/tests/xfs/200 b/tests/xfs/200
index b51b9a54..a9d6ce1b 100755
--- a/tests/xfs/200
+++ b/tests/xfs/200
@@ -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
diff --git a/tests/xfs/204 b/tests/xfs/204
index 7d6b79a8..7dacfa2d 100755
--- a/tests/xfs/204
+++ b/tests/xfs/204
@@ -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
diff --git a/tests/xfs/232 b/tests/xfs/232
index 59bbc436..0cb26fa1 100755
--- a/tests/xfs/232
+++ b/tests/xfs/232
@@ -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
-- 
2.39.2




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux