Files
chrony/test/simulation
Miroslav Lichvar ebfc676d74 ntp: limit offset correction to supported NTP interval
When an NTP source is specified with the offset option, the corrected
offset may get outside of the supported NTP interval (by default -50..86
years around the build date). If the source passed the source selection,
the offset would be rejected only later in the adjustment of the local
clock.

Check the offset validity as part of the NTP test A to make the source
unselectable and make it visible in the measurements log and ntpdata
report.
2024-05-02 14:43:51 +02:00
..
2021-04-22 10:20:31 +02:00
2022-05-19 08:23:05 +02:00
2023-06-15 14:23:47 +02:00
2023-08-08 17:11:46 +02:00
2021-04-15 15:17:13 +02:00
2021-09-23 14:48:59 +02:00
2023-04-13 16:22:50 +02:00
2023-04-18 11:39:27 +02:00
2016-02-05 15:20:40 +01:00
2021-03-04 12:36:36 +01:00

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.