nixpkgs/nixos/tests/lauti.nix
Sergei Trofimovich 342c8ac9ec lauti.tests: fix the eval
After a rename of the attribute the test references were fixed, but not
the test itself. This caused eval failures like:

    $ nix build --no-link -f. lauti.tests
    error:
       … while evaluating the attribute 'lauti'
         at pkgs/by-name/la/lauti/package.nix:45:26:
           44|   passthru.tests = {
           45|     inherit (nixosTests) lauti;
             |                          ^
           46|   };

THe change renames the test as well.
2025-05-28 18:42:34 +01:00

24 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'")
'';
}