mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

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.
24 lines
392 B
Nix
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'")
|
|
'';
|
|
|
|
}
|