mirror of
https://github.com/nix-community/disko
synced 2024-11-13 23:57:12 +00:00
13 lines
309 B
Nix
13 lines
309 B
Nix
{ pkgs ? import <nixpkgs> { }
|
|
, diskoLib ? pkgs.callPackage ../lib { }
|
|
}:
|
|
diskoLib.testLib.makeDiskoTest {
|
|
inherit pkgs;
|
|
name = "mdadm";
|
|
disko-config = ../example/mdadm.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("test -b /dev/md/raid1");
|
|
machine.succeed("mountpoint /");
|
|
'';
|
|
efi = false;
|
|
}
|