mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nixos/twingate: improve test
This commit is contained in:
parent
f18b8ec8c6
commit
e29e8a71c8
@ -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")
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user