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