From 75efdc65022f71b9a61f9347d353022d46055f4d Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 7 Sep 2016 16:25:28 +0200 Subject: nixos/tests/blivet: Fix btrfs-related tests The loopback-based tests use a storage size of 102400 blocks (one block is 1024 bytes), which doesn't seem to fit for btrfs volumes in recent btrfs versions. I'm setting this to 409600 (400 MB) now so that it should be enough for later versions in case they need even more space for subvolumes. Signed-off-by: aszlig --- nixos/tests/blivet.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/tests/blivet.nix') diff --git a/nixos/tests/blivet.nix b/nixos/tests/blivet.nix index 33a79e65efe1..a7b836ce99a6 100644 --- a/nixos/tests/blivet.nix +++ b/nixos/tests/blivet.nix @@ -69,6 +69,7 @@ import ./make-test.nix ({ pkgs, ... }: with pkgs.pythonPackages; rec { sed -i \ -e '1i import tempfile' \ -e 's|_STORE_FILE_PATH = .*|_STORE_FILE_PATH = tempfile.gettempdir()|' \ + -e 's|DEFAULT_STORE_SIZE = .*|DEFAULT_STORE_SIZE = 409600|' \ tests/loopbackedtestcase.py PYTHONPATH=".:$(< "${pkgs.stdenv.mkDerivation { -- cgit 1.4.1