tests: add simple-efi

This commit is contained in:
lassulus 2022-10-23 12:29:13 +02:00
parent 87e93073ac
commit c777d1ca4f
2 changed files with 49 additions and 0 deletions

9
tests/simple-efi.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
disko-config = import ../example/simple-efi.nix;
extraTestScript = ''
machine.succeed("mountpoint /");
'';
}