nixosTests.xautolock: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt
2025-03-14 23:35:56 +01:00
parent f7a4d10a08
commit ae0871bca2
2 changed files with 21 additions and 25 deletions

View File

@@ -1286,7 +1286,7 @@ in {
writefreely = handleTest ./web-apps/writefreely.nix {}; writefreely = handleTest ./web-apps/writefreely.nix {};
wstunnel = runTest ./wstunnel.nix; wstunnel = runTest ./wstunnel.nix;
xandikos = handleTest ./xandikos.nix {}; xandikos = handleTest ./xandikos.nix {};
xautolock = handleTest ./xautolock.nix {}; xautolock = runTest ./xautolock.nix;
xfce = runTest ./xfce.nix; xfce = runTest ./xfce.nix;
xfce-wayland = runTest ./xfce-wayland.nix; xfce-wayland = runTest ./xfce-wayland.nix;
xmonad = runTest ./xmonad.nix; xmonad = runTest ./xmonad.nix;

View File

@@ -1,7 +1,4 @@
import ./make-test-python.nix ( {
{ pkgs, lib, ... }:
{
name = "xautolock"; name = "xautolock";
meta.maintainers = [ ]; meta.maintainers = [ ];
@@ -23,5 +20,4 @@ import ./make-test-python.nix (
machine.sleep(120) machine.sleep(120)
machine.succeed("pgrep xlock") machine.succeed("pgrep xlock")
''; '';
} }
)