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