[PATCH] xfs: skip copy fs test on large device

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



When test on large SCRATCH_DEV, copy a huge size XFS to TEST_DIR
will fill the TEST_DIR soon, and xfs_copy process will be blocked
there. Due to copy LARGE_SCRATCH_DEV won't add any more test
coverage, so skip this kind of tests if LARGE_SCRATCH_DEV is yes.

Signed-off-by: Zorro Lang <zlang@xxxxxxxxxx>
---

Refer to "a82e9464 xfs: skip growfs test on large device", xfs_copy a
huge size XFS will be blocked, so skip this kind of tests too.

Thanks,
Zorro

 tests/xfs/077 | 1 +
 tests/xfs/284 | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/xfs/077 b/tests/xfs/077
index 3eaa5ffd..02bcc9f7 100755
--- a/tests/xfs/077
+++ b/tests/xfs/077
@@ -38,6 +38,7 @@ _supported_os Linux
 # xfs_copy does not support realtime devices
 _require_no_realtime
 _require_scratch
+_require_no_large_scratch_dev
 _require_xfs_crc
 _require_meta_uuid
 
diff --git a/tests/xfs/284 b/tests/xfs/284
index fc51af0e..07f71031 100755
--- a/tests/xfs/284
+++ b/tests/xfs/284
@@ -38,6 +38,7 @@ _supported_os Linux
 _require_no_realtime
 _require_test
 _require_scratch
+_require_no_large_scratch_dev
 
 function filter_mounted()
 {
-- 
2.14.4

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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