mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 00:05:07 -05:00
In the local reference mode, instead of returning the adjusted current time as the reference time, return the same timestamp updated only once per about 62.5 seconds. This will enable chronyd to detect polling of itself even when the local reference mode is active.
This is a collection of simulation tests using the clknetsim simulator (supported on Linux only). https://github.com/mlichvar/clknetsim The CLKNETSIM_PATH environment variable should point to the directory where clknetsim was downloaded and compiled. If the variable is not set, the tests will look for clknetsim in ./clknetsim in the current directory. The tests are written in bash and they can be run directly. The ./run script runs all tests.