mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-13 00:20:05 +01:00
11 lines
284 B
Nix
11 lines
284 B
Nix
|
|
{ pkgs ? (import <nixpkgs> { })
|
||
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
|
||
|
|
}:
|
||
|
|
makeDiskoTest {
|
||
|
|
disko-config = import ../example/boot-raid1.nix;
|
||
|
|
extraTestScript = ''
|
||
|
|
machine.succeed("test -b /dev/md/boot");
|
||
|
|
machine.succeed("mountpoint /boot");
|
||
|
|
'';
|
||
|
|
}
|