nixos/tests/kea: migrate to runTest

Part of #386873
This commit is contained in:
Martin Weinelt 2025-03-10 20:23:59 +01:00
parent 6919956d08
commit 5a80e9ed00
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 196 additions and 194 deletions

View file

@ -575,7 +575,7 @@ in {
kavita = handleTest ./kavita.nix {}; kavita = handleTest ./kavita.nix {};
kbd-setfont-decompress = handleTest ./kbd-setfont-decompress.nix {}; kbd-setfont-decompress = handleTest ./kbd-setfont-decompress.nix {};
kbd-update-search-paths-patch = handleTest ./kbd-update-search-paths-patch.nix {}; kbd-update-search-paths-patch = handleTest ./kbd-update-search-paths-patch.nix {};
kea = handleTest ./kea.nix {}; kea = runTest ./kea.nix;
keepalived = handleTest ./keepalived.nix {}; keepalived = handleTest ./keepalived.nix {};
keepassxc = handleTest ./keepassxc.nix {}; keepassxc = handleTest ./keepassxc.nix {};
kerberos = handleTest ./kerberos/default.nix {}; kerberos = handleTest ./kerberos/default.nix {};

View file

@ -5,8 +5,11 @@
# that the nameserver can resolve the clients fqdn to the correct IP # that the nameserver can resolve the clients fqdn to the correct IP
# address. # address.
import ./make-test-python.nix ( {
{ pkgs, lib, ... }: pkgs,
lib,
...
}:
{ {
meta.maintainers = with lib.maintainers; [ hexa ]; meta.maintainers = with lib.maintainers; [ hexa ];
@ -232,4 +235,3 @@ import ./make-test-python.nix (
router.succeed("curl --no-buffer 127.0.0.1:9547 | grep -qE '^kea_dhcp4_addresses_assigned_total.*1.0$'") router.succeed("curl --no-buffer 127.0.0.1:9547 | grep -qE '^kea_dhcp4_addresses_assigned_total.*1.0$'")
''; '';
} }
)