Merge pull request #244923 from Kranzes/twingate-test

nixos/twingate: improve test
This commit is contained in:
Ilan Joselevich
2023-07-23 02:02:42 +03:00
committed by GitHub
+4
View File
@@ -6,5 +6,9 @@
testScript = { nodes, ... }: ''
machine.wait_for_unit("twingate.service")
machine.succeed("twingate --version | grep '${nodes.machine.services.twingate.package.version}' >&2")
machine.succeed("twingate config log-level 'debug'")
machine.systemctl("restart twingate.service")
machine.succeed("grep 'debug' /etc/twingate/log_level.conf >&2")
machine.succeed("twingate config log-level | grep 'debug' >&2")
'';
}