summaryrefslogtreecommitdiffstats
path: root/tests/mdadm.nix
blob: 2b4442afca72c9701f29031ca144a84bd5aa968d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
  disko-config = ../example/mdadm.nix;
  extraTestScript = ''
    machine.succeed("test -b /dev/md/raid1");
    machine.succeed("mountpoint /");
  '';
  efi = false;
  grub-devices = [ "/dev/vdb" "/dev/vdc" ];
}