mirror of
https://github.com/nix-community/disko.git
synced 2024-11-09 00:04:18 +03:00
11 lines
295 B
Nix
11 lines
295 B
Nix
{ pkgs ? (import <nixpkgs> {})
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix {}).makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
disko-config = import ../example/mdadm.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("test -b /dev/md/raid1");
|
|
machine.succeed("grep -qs '/mnt/raid' /proc/mounts");
|
|
'';
|
|
}
|