about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/nixos-test-driver/busybox.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/nixos-test-driver/busybox.nix')
-rw-r--r--nixpkgs/nixos/tests/nixos-test-driver/busybox.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/nixos-test-driver/busybox.nix b/nixpkgs/nixos/tests/nixos-test-driver/busybox.nix
new file mode 100644
index 000000000000..426f4494436e
--- /dev/null
+++ b/nixpkgs/nixos/tests/nixos-test-driver/busybox.nix
@@ -0,0 +1,16 @@
+{
+  name = "Test that basic tests work when busybox is installed";
+
+  nodes = {
+    machine = ({ pkgs, ... }: {
+      environment.systemPackages = [
+        pkgs.busybox
+      ];
+    });
+  };
+
+  testScript = ''
+    start_all()
+    machine.wait_for_unit("multi-user.target")
+  '';
+}