nixosTests.logrotate: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-19 22:57:48 +02:00
parent 4db241dede
commit 22356f510d
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 121 additions and 124 deletions

View file

@ -740,7 +740,7 @@ in
localsend = handleTest ./localsend.nix { };
locate = handleTest ./locate.nix { };
login = handleTest ./login.nix { };
logrotate = handleTest ./logrotate.nix { };
logrotate = runTest ./logrotate.nix;
loki = handleTest ./loki.nix { };
luks = handleTest ./luks.nix { };
lvm2 = handleTest ./lvm2 { };

View file

@ -10,10 +10,8 @@ let
};
in
import ./make-test-python.nix (
{ pkgs, ... }:
rec {
{ pkgs, ... }:
{
name = "logrotate";
meta = with pkgs.lib.maintainers; {
maintainers = [ martinetd ];
@ -142,5 +140,4 @@ import ./make-test-python.nix (
machine.log(machine.execute("systemd-analyze security logrotate.service | grep -v ")[1])
'';
}
)
}