nixos/tests/knot: migrate to runTest

Part of #386873
This commit is contained in:
Martin Weinelt 2025-03-10 20:30:17 +01:00
parent 5d3d6037d8
commit 41ff93c1d8
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 230 additions and 228 deletions

View file

@ -589,7 +589,7 @@ in {
keymap = handleTest ./keymap.nix {};
kimai = handleTest ./kimai.nix {};
kmonad = runTest ./kmonad.nix;
knot = handleTest ./knot.nix {};
knot = runTest ./knot.nix;
komga = handleTest ./komga.nix {};
krb5 = discoverTests (import ./krb5);
ksm = handleTest ./ksm.nix {};

View file

@ -1,5 +1,8 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }:
{
pkgs,
lib,
...
}:
let
common = {
networking.firewall.enable = false;
@ -251,4 +254,3 @@ import ./make-test-python.nix (
primary.log(primary.succeed("systemd-analyze security knot.service | grep -v ''"))
'';
}
)