mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 19:45:07 -05:00
Add options to allow running the tests in multiple iterations while allowing a small number of failures per test. Some tests are expected to fail occasionally as they are basically statistical tests. Improving their reliability is possible, but it's always a compromise between sensitivity, reliability, and execution time.
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.