mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
11 lines
319 B
Nix
11 lines
319 B
Nix
{ pkgs ? (import <nixpkgs> {})
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix {}).makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
disko-config = import ../example/btrfs-subvolumes.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("test -e /mnt/test");
|
|
machine.succeed("btrfs subvolume list /mnt | grep -qs 'path test$'");
|
|
'';
|
|
}
|
|
|