disko/tests/mdadm.nix

14 lines
309 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
}:
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
2023-02-21 19:19:39 +03:00
name = "mdadm";
2022-10-29 14:19:29 +03:00
disko-config = ../example/mdadm.nix;
2022-08-26 00:12:49 +03:00
extraTestScript = ''
2022-08-24 17:46:36 +03:00
machine.succeed("test -b /dev/md/raid1");
machine.succeed("mountpoint /");
'';
efi = false;
}