The initstepslew code has its own minimal NTP implementation. Drop the code, add a new initstepslew mode to the reference updating code and use regular NTP sources with iburst flag for initstepslew addresses instead. When an update is made or a source is found unreachable, log a message, remove the initstepslew sources and switch to normal mode. This reduces code duplication and makes initstepslew use features implemented only in the main code like source combining or SO_TIMESTAMP support. |
||
---|---|---|
.. | ||
001-defaults | ||
002-largenetwork | ||
003-largefreqoffset | ||
004-largetimeoffset | ||
005-externalstep | ||
006-largejitter | ||
007-largewander | ||
101-poll | ||
102-iburst | ||
103-initstepslew | ||
104-driftfile | ||
105-ntpauth | ||
106-refclock | ||
107-allowdeny | ||
108-peer | ||
109-makestep | ||
110-chronyc | ||
111-knownclient | ||
112-port | ||
201-freqaccumulation | ||
README | ||
run | ||
test.common |
This is a collection of simulation tests. They use clknetsim to simulate multiple systems connected in a network. It's available at https://github.com/mlichvar/clknetsim If this directory doesn't have a clknetsim subdirectory, a known working revision will be downloaded and compiled automatically. Currently it runs only on Linux. The tests are written in bash and they can be run directly. The ./run script runs all tests.