Skip to contentSkip to conversation

xfs: skip growfs test on large device

PATCH New Zorro Lang 1 participant 1 message May 14, 2018

lore
Share & tools
lore

Zorro Lang

author
#0 lore raw

PATCH v3 1/1 xfs: skip growfs test on large device

When test on large SCRATCH_DEV, grow a small XFS to huge size is a horrible thing (e.g grow 128M to 500T). So skip this kind of tests if LARGE_SCRATCH_DEV is yes.

---

V3 drops all _scratch_xfs_growfs related code. Turn to use _require_no_large_scratch_dev.

 tests/xfs/002 | 1 +
 tests/xfs/127 | 1 +
 tests/xfs/233 | 1 +
 3 files changed, 3 insertions(+)
tests/xfs/002 +1 -0
index 741117be..a6114748 100755
@@ -51,6 +51,7 @@ _cleanup()
 _supported_fs xfs
 _supported_os Linux
 _require_scratch_nocheck
+_require_no_large_scratch_dev
 
 # So we can explicitly turn it _off_:
 _require_xfs_mkfs_crc
tests/xfs/127 +1 -0
index 9df99904..60597fbf 100755
@@ -45,6 +45,7 @@ _cleanup()
 _supported_os Linux
 _supported_fs xfs
 _require_scratch_reflink
+_require_no_large_scratch_dev
 _require_cp_reflink
 
 echo "Format and mount"
tests/xfs/233 +1 -0
index e61c444d..b20dd4f1 100755
@@ -44,6 +44,7 @@ _cleanup()
 _supported_os Linux
 _supported_fs xfs
 _require_xfs_scratch_rmapbt
+_require_no_large_scratch_dev
 
 echo "Format and mount"
 _scratch_mkfs_sized $((2 * 4096 * 4096)) > $seqres.full 2>&1
Signature · 1 line
2.14.3