chrony/test/simulation
Miroslav Lichvar 115e83f3aa 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.
2014-02-27 18:34:52 +01:00
..
001-defaults Add simulation tests 2014-02-27 18:34:52 +01:00
002-largenetwork Add simulation tests 2014-02-27 18:34:52 +01:00
003-largefreqoffset Add simulation tests 2014-02-27 18:34:52 +01:00
004-largetimeoffset Add simulation tests 2014-02-27 18:34:52 +01:00
005-externalstep Add simulation tests 2014-02-27 18:34:52 +01:00
006-largejitter Add simulation tests 2014-02-27 18:34:52 +01:00
007-largewander Add simulation tests 2014-02-27 18:34:52 +01:00
101-poll Add simulation tests 2014-02-27 18:34:52 +01:00
102-iburst Add simulation tests 2014-02-27 18:34:52 +01:00
103-initstepslew Add simulation tests 2014-02-27 18:34:52 +01:00
104-driftfile Add simulation tests 2014-02-27 18:34:52 +01:00
105-ntpauth Add simulation tests 2014-02-27 18:34:52 +01:00
106-refclock Add simulation tests 2014-02-27 18:34:52 +01:00
107-allowdeny Add simulation tests 2014-02-27 18:34:52 +01:00
108-peer Add simulation tests 2014-02-27 18:34:52 +01:00
109-makestep Add simulation tests 2014-02-27 18:34:52 +01:00
110-chronyc Add simulation tests 2014-02-27 18:34:52 +01:00
201-freqaccumulation Add simulation tests 2014-02-27 18:34:52 +01:00
README Add simulation tests 2014-02-27 18:34:52 +01:00
test.common Add simulation tests 2014-02-27 18:34:52 +01:00

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.