diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 63860c1e397d..517af4bcdeaa 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1568,6 +1568,7 @@ in trilium-server = runTestOn [ "x86_64-linux" ] ./trilium-server.nix; tsm-client-gui = runTest ./tsm-client-gui.nix; ttyd = runTest ./web-servers/ttyd.nix; + tuliprox = runTest ./tuliprox.nix; tuned = runTest ./tuned.nix; tuptime = runTest ./tuptime.nix; turbovnc-headless-server = runTest ./turbovnc-headless-server.nix; diff --git a/nixos/tests/tuliprox.nix b/nixos/tests/tuliprox.nix new file mode 100644 index 000000000000..ba1ced958fd1 --- /dev/null +++ b/nixos/tests/tuliprox.nix @@ -0,0 +1,19 @@ +{ lib, pkgs, ... }: +{ + name = "tuliprox"; + meta.maintainers = with lib.maintainers; [ nyanloutre ]; + + nodes.machine = + { pkgs, ... }: + { + services.tuliprox = { + enable = true; + }; + }; + + testScript = '' + machine.wait_for_unit("multi-user.target") + machine.wait_for_open_port(8901) + machine.succeed("curl -vvv -s http://127.0.0.1:8901/") + ''; +}