nixosTests.xscreensaver: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-31 21:57:36 +02:00
parent 77b584d61f
commit 7be89c1891
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 76 additions and 76 deletions

View file

@ -1337,7 +1337,7 @@ in {
xpadneo = runTest ./xpadneo.nix; xpadneo = runTest ./xpadneo.nix;
xrdp = runTest ./xrdp.nix; xrdp = runTest ./xrdp.nix;
xrdp-with-audio-pulseaudio = runTest ./xrdp-with-audio-pulseaudio.nix; xrdp-with-audio-pulseaudio = runTest ./xrdp-with-audio-pulseaudio.nix;
xscreensaver = handleTest ./xscreensaver.nix {}; xscreensaver = runTest ./xscreensaver.nix;
xss-lock = runTest ./xss-lock.nix; xss-lock = runTest ./xss-lock.nix;
xterm = runTest ./xterm.nix; xterm = runTest ./xterm.nix;
xxh = runTest ./xxh.nix; xxh = runTest ./xxh.nix;

View file

@ -1,11 +1,12 @@
import ./make-test-python.nix ( { lib, ... }:
{ pkgs, lib, ... }: {
{
name = "pass-secret-service"; name = "pass-secret-service";
meta.maintainers = with lib.maintainers; [ meta.maintainers = with lib.maintainers; [
vancluever vancluever
]; ];
node.pkgsReadOnly = false;
nodes = { nodes = {
ok = ok =
{ nodes, pkgs, ... }: { nodes, pkgs, ... }:
@ -77,5 +78,4 @@ import ./make-test-python.nix (
assert 'your screen via the out-of-memory killer' in output_bad_wrapperPrefix assert 'your screen via the out-of-memory killer' in output_bad_wrapperPrefix
assert '"xscreensaver-auth" must be setuid root' in output_bad_wrapperPrefix assert '"xscreensaver-auth" must be setuid root' in output_bad_wrapperPrefix
''; '';
} }
)