Skip to content

Commit

Permalink
Chrony: fix error in spelling of 'measurements' and add test for that
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpunk authored and lutter committed Mar 2, 2015
1 parent ef8e1c6 commit 92f8738
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lenses/chrony.aug
Expand Up @@ -112,7 +112,7 @@ module Chrony =
(* Variable: log_flags
log has a specific options list
*)
let log_flags = /measurments|statistics|tracking|rtc|refclocks|tempcomp/
let log_flags = /measurements|statistics|tracking|rtc|refclocks|tempcomp/

(* Variable: simple_keys
Options with single values
Expand Down
3 changes: 2 additions & 1 deletion lenses/tests/test_chrony.aug
Expand Up @@ -35,7 +35,7 @@ generatecommandkey
noclientlog
logchange 0.5
logdir /var/log/chrony
log rtc
log rtc measurements
leapsectz right/UTC
broadcast 10 192.168.1.255
broadcast 10 192.168.100.255 123
Expand Down Expand Up @@ -102,6 +102,7 @@ initstepslew 30 foo.bar.com baz.quz.com
{ "logdir" = "/var/log/chrony" }
{ "log"
{ "rtc" }
{ "measurements" }
}
{ "leapsectz" = "right/UTC" }
{ "broadcast"
Expand Down

0 comments on commit 92f8738

Please sign in to comment.