mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
feat(mdadm): add test for mdadm with extraArgs
This commit is contained in:
1 parent
e65362ceef
commit
d64e5cdca3
2 files changed
+80
No files matched your search
@@ -0,0 +1,14 @@
|
||||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
diskoLib ? pkgs.callPackage ../lib { },
|
||||
}:
|
||||
diskoLib.testLib.makeDiskoTest {
|
||||
inherit pkgs;
|
||||
name = "mdadm-raid5-args";
|
||||
disko-config = ../example/mdadm-raid5-args.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("test -b /dev/md/raid5");
|
||||
machine.succeed("mountpoint /");
|
||||
'';
|
||||
efi = false;
|
||||
}
|
||||
Reference in new issue
Block a user