1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00

nixosTests.xmonad: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt 2025-03-14 23:21:51 +01:00
parent 4ada7d8158
commit ead8dabde0
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 111 additions and 113 deletions

View file

@ -1289,7 +1289,7 @@ in {
xautolock = handleTest ./xautolock.nix {};
xfce = handleTest ./xfce.nix {};
xfce-wayland = handleTest ./xfce-wayland.nix {};
xmonad = handleTest ./xmonad.nix {};
xmonad = runTest ./xmonad.nix;
xmonad-xdg-autostart = runTest ./xmonad-xdg-autostart.nix;
xpadneo = runTest ./xpadneo.nix;
xrdp = runTest ./xrdp.nix;

View file

@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ pkgs, ... }:
let
@ -84,7 +83,7 @@ import ./make-test-python.nix (
testScript =
{ nodes, ... }:
let
user = nodes.machine.config.users.users.alice;
user = nodes.machine.users.users.alice;
in
''
machine.wait_for_x()
@ -128,4 +127,3 @@ import ./make-test-python.nix (
machine.wait_for_file("/tmp/somefile")
'';
}
)