mirror of
https://github.com/nix-community/disko
synced 2024-11-13 23:57:12 +00:00
11 lines
300 B
Nix
11 lines
300 B
Nix
{ pkgs ? (import <nixpkgs> { })
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
name = "boot-raid1";
|
|
disko-config = ../example/boot-raid1.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("test -b /dev/md/boot");
|
|
machine.succeed("mountpoint /boot");
|
|
'';
|
|
}
|