nixpkgs/nixos/tests/eintopf.nix
2025-05-01 13:24:28 +02:00

25 lines
392 B
Nix

{
lib,
pkgs,
...
}:
{
name = "eintopf";
meta.maintainers = with lib.maintainers; [ onny ];
nodes = {
eintopf = {
services.eintopf.enable = true;
};
};
testScript = ''
eintopf.start
eintopf.wait_for_unit("eintopf.service")
eintopf.wait_for_open_port(3333)
eintopf.succeed("curl -sSfL http://eintopf:3333 | grep 'No events available'")
'';
}