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