From 2beaca087b29725c7dff324df4af021fa983c259 Mon Sep 17 00:00:00 2001 From: Johannes Thumshirn Date: Thu, 3 Sep 2020 21:18:15 +0900 Subject: [PATCH] btrfs/011: skip if on too small devices btrfs/011 does require a spare device of at least 10GB, skip if we don't have big enough devices, e.g. when testing on ramdisks. Signed-off-by: Johannes Thumshirn Reviewed-by: Josef Bacik Signed-off-by: Eryu Guan --- tests/btrfs/011 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/btrfs/011 b/tests/btrfs/011 index de424f87..f96d11ce 100755 --- a/tests/btrfs/011 +++ b/tests/btrfs/011 @@ -51,6 +51,7 @@ _supported_fs btrfs _require_scratch_nocheck _require_scratch_dev_pool 5 _require_scratch_dev_pool_equal_size +_require_scratch_size $((10 * 1024 * 1024)) #kB _require_command "$WIPEFS_PROG" wipefs rm -f $seqres.full -- 2.39.5