disko/tests/luks-lvm.nix

11 lines
293 B
Nix
Raw Normal View History

{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
2022-08-25 23:12:49 +02:00
makeDiskoTest {
disko-config = import ../example/luks-lvm.nix;
2022-08-25 23:12:49 +02:00
extraTestScript = ''
machine.succeed("cryptsetup isLuks /dev/vdb2");
machine.succeed("mountpoint /mnt/home");
'';
}