diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/multi-device-no-deps.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/multi-device-no-deps.nix b/tests/multi-device-no-deps.nix new file mode 100644 index 0000000..ef1f7a8 --- /dev/null +++ b/tests/multi-device-no-deps.nix @@ -0,0 +1,12 @@ +# this is a regression test for https://github.com/nix-community/disko/issues/52 +{ pkgs ? (import <nixpkgs> { }) +, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest +}: +makeDiskoTest { + disko-config = ../example/multi-device-no-deps.nix; + testBoot = false; + extraTestScript = '' + machine.succeed("mountpoint /mnt/a"); + machine.succeed("mountpoint /mnt/b"); + ''; +} |