mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:35:06 -05:00
With the first interleaved response coming after a basic response the client is forced to select the four timestamps covering most of the last polling interval, which makes measured delay very sensitive to the frequency offset between server and client. To avoid corrupting the minimum delay held in sourcestats (which can cause testC failures), reject the first interleaved response in the client/server mode as failing the test A. This does not change anything for the symmetric mode, where both sets of the four timestamps generally cover a significant part of the polling interval.
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.