Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526{ pkgs, lib, ... }:{ name = "sonic-server";
meta = { maintainers = with lib.maintainers; [ anthonyroussel ]; };
nodes.machine = { pkgs, ... }: { services.sonic-server.enable = true; };
testScript = '' machine.start()
machine.wait_for_unit("sonic-server.service") machine.wait_for_open_port(1491)
with subtest("Check control mode"): result = machine.succeed('(echo START control; sleep 1; echo PING; echo QUIT) | nc localhost 1491').splitlines() assert result[2] == "PONG", f"expected 'PONG', got '{result[2]}'" '';}