Merge pull request #244923 from Kranzes/twingate-test

nixos/twingate: improve test

authored by

Ilan Joselevich and committed by
GitHub
b8188934 e32173c3

+4
+4
nixos/tests/twingate.nix
··· 6 testScript = { nodes, ... }: '' 7 machine.wait_for_unit("twingate.service") 8 machine.succeed("twingate --version | grep '${nodes.machine.services.twingate.package.version}' >&2") 9 ''; 10 }
··· 6 testScript = { nodes, ... }: '' 7 machine.wait_for_unit("twingate.service") 8 machine.succeed("twingate --version | grep '${nodes.machine.services.twingate.package.version}' >&2") 9 + machine.succeed("twingate config log-level 'debug'") 10 + machine.systemctl("restart twingate.service") 11 + machine.succeed("grep 'debug' /etc/twingate/log_level.conf >&2") 12 + machine.succeed("twingate config log-level | grep 'debug' >&2") 13 ''; 14 }