In my testing on 1GB zram devices btrfs/139 usually fails with ENOSPC. Add a requirement for 2GB scratch devices (empirically measured). Signed-off-by: Johannes Thumshirn <jth@xxxxxxxxxx> --- tests/btrfs/139 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/btrfs/139 b/tests/btrfs/139 index 5664617c..2f84c811 100755 --- a/tests/btrfs/139 +++ b/tests/btrfs/139 @@ -31,6 +31,9 @@ _cleanup() # remove previous $seqres.full before test rm -f $seqres.full +# We at least need 2GB of free space on $SCRATCH_DEV +_require_scratch_size $((2 * 1024 * 1024)) + _supported_fs btrfs _supported_os Linux _require_scratch -- 2.16.4