disko/tests/mdadm-raid0.nix

14 lines
321 B
Nix
Raw Normal View History

2023-09-12 12:31:44 +03:00
{ 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;
}