aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZorro Lang <zlang@redhat.com>2018-05-14 22:41:53 +0800
committerEryu Guan <guaneryu@gmail.com>2018-05-14 23:19:58 +0800
commita82e9464ddfb3ed677e0080301adbab3dab47546 (patch)
tree10e1469b6f2b32bc6c2f828135156483a35202f4
parente401bc28c1baaa8f0c24e97710b9f70a60296bb1 (diff)
downloadxfstests-dev-a82e9464ddfb3ed677e0080301adbab3dab47546.tar.gz
xfs: skip growfs test on large device
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>
-rwxr-xr-xtests/xfs/0021
-rwxr-xr-xtests/xfs/1271
-rwxr-xr-xtests/xfs/2331
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/xfs/002 b/tests/xfs/002
index 741117be40..a611474885 100755
--- a/tests/xfs/002
+++ b/tests/xfs/002
@@ -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
diff --git a/tests/xfs/127 b/tests/xfs/127
index 9df99904a7..60597fbf8f 100755
--- a/tests/xfs/127
+++ b/tests/xfs/127
@@ -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"
diff --git a/tests/xfs/233 b/tests/xfs/233
index e61c444df0..b20dd4f117 100755
--- a/tests/xfs/233
+++ b/tests/xfs/233
@@ -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