2023-07-28 12:04:18 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { }
|
|
|
|
, diskoLib ? pkgs.callPackage ../lib { }
|
2022-08-17 12:20:44 +00:00
|
|
|
}:
|
2023-07-28 12:04:18 +00:00
|
|
|
diskoLib.testLib.makeDiskoTest {
|
2023-07-14 09:37:30 +00:00
|
|
|
inherit pkgs;
|
2023-02-21 16:19:39 +00:00
|
|
|
name = "mdadm";
|
2022-10-29 11:19:29 +00:00
|
|
|
disko-config = ../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");
|
2022-09-30 10:55:28 +00:00
|
|
|
machine.succeed("mountpoint /");
|
2022-08-17 12:20:44 +00:00
|
|
|
'';
|
2022-09-30 10:55:28 +00:00
|
|
|
efi = false;
|
2022-08-17 12:20:44 +00:00
|
|
|
}
|