disko/tests/mdadm.nix

13 lines
335 B
Nix
Raw Normal View History

{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
2022-08-25 21:12:49 +00:00
makeDiskoTest {
disko-config = import ../example/mdadm.nix;
2022-08-25 21:12:49 +00:00
extraTestScript = ''
2022-08-24 14:46:36 +00:00
machine.succeed("test -b /dev/md/raid1");
machine.succeed("mountpoint /");
'';
efi = false;
grub-devices = [ "/dev/vdb" "/dev/vdc" ];
}