mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
10 lines
315 B
Nix
10 lines
315 B
Nix
{ pkgs ? (import <nixpkgs> {})
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix {}).makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
disko-config = import ../example/zfs.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("test -b /dev/zvol/zroot/zfs_testvolume");
|
|
machine.succeed("grep -qs '/mnt/ext4onzfs' /proc/mounts");
|
|
'';
|
|
}
|