Files
nixpkgs/nixos/tests/tuliprox.nix
2025-11-23 05:01:06 +01:00

20 lines
381 B
Nix

{ 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 -v -s http://127.0.0.1:8901/")
'';
}