Message ID | 20200903121815.7797-1-johannes.thumshirn@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs/011: skip if on too small devices | expand |
On 9/3/20 8:18 AM, Johannes Thumshirn wrote: > 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 <johannes.thumshirn@wdc.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Thanks, Josef
diff --git a/tests/btrfs/011 b/tests/btrfs/011 index de424f876e6e..f96d11ce6ee6 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
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 <johannes.thumshirn@wdc.com> --- tests/btrfs/011 | 1 + 1 file changed, 1 insertion(+)