6 maintainers = with lib.maintainers; [ moraxyc ];
12 environment.systemPackages = with pkgs; [
23 machine.wait_for_unit("send.service")
25 machine.wait_for_open_port(1443)
27 machine.succeed("curl --fail --max-time 10 http://127.0.0.1:1443")
29 machine.succeed("echo HelloWorld > /tmp/test")
30 url = machine.succeed("ffsend upload -q -h http://127.0.0.1:1443/ /tmp/test")
31 machine.succeed(f'ffsend download --output /tmp/download {url}')
32 machine.succeed("cat /tmp/download | grep HelloWorld")