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