summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-10-23 12:29:13 +0200
committerlassulus <lassulus@lassul.us>2022-10-23 12:29:13 +0200
commitc777d1ca4ff0f759a6517eb2a4d7e9bae1fa9fd2 (patch)
treee78d372713246731777ca99793582a3dc1a02a67 /tests
parent87e93073ac762993a0bf27bc65af570226586ae5 (diff)
tests: add simple-efi
Diffstat (limited to 'tests')
-rw-r--r--tests/simple-efi.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/simple-efi.nix b/tests/simple-efi.nix
new file mode 100644
index 0000000..2d3b92d
--- /dev/null
+++ b/tests/simple-efi.nix
@@ -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 /");
+ '';
+}