tests: pass lib to examples

This commit is contained in:
lassulus committed 2022-10-23 11:34:39 +02:00
1 parent c96ccd7d9f
commit 8666475b74
12 files changed
+59 -13

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
disko-config = import ../example/with-lib.nix;
extraTestScript = ''
machine.succeed("mountpoint /");
'';
efi = false;
grub-devices = [ "/dev/vdb" ];
}