nixosTests.lighttpd: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-04 14:14:45 +02:00
parent 569c914f0c
commit 8f0d4225d4
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 21 additions and 23 deletions

View file

@ -703,7 +703,7 @@ in
libvirtd = handleTest ./libvirtd.nix { };
lidarr = handleTest ./lidarr.nix { };
lightdm = handleTest ./lightdm.nix { };
lighttpd = handleTest ./lighttpd.nix { };
lighttpd = runTest ./lighttpd.nix;
limesurvey = handleTest ./limesurvey.nix { };
limine = import ./limine { inherit runTest; };
listmonk = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./listmonk.nix { };

View file

@ -1,6 +1,5 @@
import ./make-test-python.nix (
{ lib, pkgs, ... }:
{
{ lib, pkgs, ... }:
{
name = "lighttpd";
meta.maintainers = with lib.maintainers; [ bjornfor ];
@ -21,5 +20,4 @@ import ./make-test-python.nix (
assert "hello nixos test" in res, f"bad server response: '{res}'"
server.succeed("systemctl reload lighttpd")
'';
}
)
}