mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 22:05:07 -05:00
Add simulation tests
Use clknetsim to run multiple chronyd instances with simulated clocks and network. It allows fast and reproducible testing, without real network. Included are several tests of performance in different clock/network conditions, chronyd options, NTP authentication, chronyc, and past bug fixes.
This commit is contained in:
12
test/simulation/README
Normal file
12
test/simulation/README
Normal file
@@ -0,0 +1,12 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user