nixos/tests: add simple-container

nixosTests.simple-vm but using an nspawn container
This commit is contained in:
zowoq
2026-05-22 11:54:05 +10:00
parent 244b700403
commit cdc68a268c
2 changed files with 12 additions and 0 deletions

View File

@@ -1508,6 +1508,7 @@ in
shoko = import ./shoko.nix { inherit runTest; };
signal-desktop = runTest ./signal-desktop.nix;
silverbullet = runTest ./silverbullet.nix;
simple-container = runTest ./simple-container.nix;
simple-vm = runTest ./simple-vm.nix;
sing-box = runTest ./sing-box.nix;
sks = runTest ./sks.nix;

View File

@@ -0,0 +1,11 @@
{
name = "simple-container";
containers.machine = { };
testScript = ''
start_all()
machine.wait_for_unit("multi-user.target")
machine.shutdown()
'';
}