summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test.nix b/tests/test.nix
index 0f875e6..2ab28bf 100644
--- a/tests/test.nix
+++ b/tests/test.nix
@@ -56,13 +56,20 @@ import <nixpkgs/nixos/tests/make-test.nix> ({ pkgs, ... }: let
};
home = {
type = "lv";
- size = "100M";
+ size = "10M";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/home";
};
};
+ raw = {
+ type = "lv";
+ size = "10M";
+ content = {
+ type = "noop";
+ };
+ };
};
};
};
@@ -92,6 +99,7 @@ in {
$machine->succeed("echo 'secret' > /tmp/secret.key");
$machine->succeed("${pkgs.writeScript "create" ((import ../lib).create disko-config)}");
$machine->succeed("${pkgs.writeScript "mount" ((import ../lib).mount disko-config)}");
+ $machine->succeed("test -b /dev/mapper/pool-raw");
'';
})