Unverified Commit d28bf5e5 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

nixos/ntpd-rs: tests: Test outputs of `ntp-ctl status`

parent c3f18576
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -50,6 +50,9 @@ import ./make-test-python.nix (
          machine.succeed('systemctl is-active ntpd-rs.service')
          machine.succeed('systemctl is-active ntpd-rs-metrics.service')
          machine.succeed('curl http://localhost:9975/metrics | grep ntp_uptime_seconds')

        client.succeed("ntp-ctl status | grep server:123")
        server.succeed("ntp-ctl status | grep '\[::\]:123'")
      '';
  }
)