]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs: skip growfs test on large device
authorZorro Lang <zlang@redhat.com>
Mon, 14 May 2018 14:41:53 +0000 (22:41 +0800)
committerEryu Guan <guaneryu@gmail.com>
Mon, 14 May 2018 15:19:58 +0000 (23:19 +0800)
When test on large SCRATCH_DEV, growing a small XFS to huge size is
a horrible thing (e.g grow 128M to 500T) and it doesn't add any more
test coverage. So skip this kind of tests if LARGE_SCRATCH_DEV is
yes.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/002
tests/xfs/127
tests/xfs/233

index 741117be40787e1bc065936dd0cb936d8a9e5471..a611474885a755fbe1a7bf000d057bdd3784f33c 100755 (executable)
@@ -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
index 9df99904a70a6db9e88c8588df3d1262595a0dd9..60597fbf8f67d3da9730f74981ef4634ac3c7f43 100755 (executable)
@@ -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"
index e61c444df091833a9be9e025d2778d171f3029da..b20dd4f117f88344ef96c079e88f98ca5a576ff3 100755 (executable)
@@ -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