about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/qboot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/qboot.nix')
-rw-r--r--nixpkgs/nixos/tests/qboot.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/qboot.nix b/nixpkgs/nixos/tests/qboot.nix
new file mode 100644
index 000000000000..12aef6decfae
--- /dev/null
+++ b/nixpkgs/nixos/tests/qboot.nix
@@ -0,0 +1,13 @@
+import ./make-test-python.nix ({ pkgs, ...} : {
+  name = "qboot";
+
+  machine = { ... }: {
+    virtualisation.bios = pkgs.qboot;
+  };
+
+  testScript =
+    ''
+      start_all()
+      machine.wait_for_unit("multi-user.target")
+    '';
+})