blob: 7e2905a5d77a9a95aa9dabbed39a2e9c12bdc509 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ ... }:
{
name = "localsend";
nodes.machine =
{ ... }:
{
imports = [ ./common/x11.nix ];
programs.localsend.enable = true;
};
testScript = ''
machine.wait_for_x()
machine.succeed("localsend_app >&2 &")
machine.wait_for_open_port(53317)
machine.wait_for_window("LocalSend", 10)
machine.succeed("ss --listening --tcp --numeric --processes | grep -P '53317.*localsend'")
machine.succeed("ss --listening --udp --numeric --processes | grep -P '53317.*localsend'")
'';
}
|