nixosTests.xxh: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt 2025-03-14 23:02:38 +01:00
parent 1fd9bc9a38
commit 7c1bc83f56
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 67 additions and 69 deletions

View file

@ -1297,7 +1297,7 @@ in {
xscreensaver = handleTest ./xscreensaver.nix {}; xscreensaver = handleTest ./xscreensaver.nix {};
xss-lock = handleTest ./xss-lock.nix {}; xss-lock = handleTest ./xss-lock.nix {};
xterm = handleTest ./xterm.nix {}; xterm = handleTest ./xterm.nix {};
xxh = handleTest ./xxh.nix {}; xxh = runTest ./xxh.nix;
yabar = runTest ./yabar.nix; yabar = runTest ./yabar.nix;
ydotool = handleTest ./ydotool.nix {}; ydotool = handleTest ./ydotool.nix {};
yggdrasil = runTest ./yggdrasil.nix; yggdrasil = runTest ./yggdrasil.nix;

View file

@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
@ -73,4 +72,3 @@ import ./make-test-python.nix (
client.succeed("xxh server -i /root/.ssh/id_ecdsa +hc \'echo $0\' +i +s zsh +I xxh-shell-zsh+path+${xxh-shell-zsh} | grep -Fq '/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/bin/zsh'") client.succeed("xxh server -i /root/.ssh/id_ecdsa +hc \'echo $0\' +i +s zsh +I xxh-shell-zsh+path+${xxh-shell-zsh} | grep -Fq '/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/bin/zsh'")
''; '';
} }
)