]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/139-140: skip testing on large scratch dev
authorZorro Lang <zlang@redhat.com>
Wed, 2 Jan 2019 04:03:19 +0000 (12:03 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 6 Jan 2019 14:02:53 +0000 (22:02 +0800)
x/139 and x/140 makes XFS with very small agsize. That agsize is too
small for a large fs. And it's not necessary to test on large fs, so
skip it directly if scratch dev is large dev.

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/139
tests/xfs/140

index 3a20ce50fef1e2c7b3aad93000af75f1f6931cb7..4c498ff2ad5c8ea50acca063284a9b167484da39 100755 (executable)
@@ -29,6 +29,9 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+# Below agsize (16384 * $blksz) is too small for a large fs, and it's not
+# necessary to test on large fs
+_require_no_large_scratch_dev
 _require_scratch_reflink
 _require_cp_reflink
 
index 7385dc4254914059cc769df6681a14c1b0794148..863b1e6ff1b5761f612fb8b801050874f27334ce 100755 (executable)
@@ -29,6 +29,9 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+# Below agsize is too small for a large fs, and it's not necessary to test on
+# large fs
+_require_no_large_scratch_dev
 _require_scratch_reflink
 _require_cp_reflink