disko/tests/multi-device-no-deps.nix

15 lines
426 B
Nix
Raw Normal View History

2022-11-10 11:46:55 +03:00
# this is a regression test for https://github.com/nix-community/disko/issues/52
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
2022-11-10 11:46:55 +03:00
}:
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
2023-02-21 19:19:39 +03:00
name = "multi-device-no-deps";
2022-11-10 11:46:55 +03:00
disko-config = ../example/multi-device-no-deps.nix;
testBoot = false;
extraTestScript = ''
machine.succeed("mountpoint /mnt/a");
machine.succeed("mountpoint /mnt/b");
'';
}