chrony/test/simulation
Miroslav Lichvar a33a955163 local: reset daemon after unexpected time jump
Add a new change type and use it when an unexpected time jump is
detected in the scheduler to reset reference times, offset and slewing,
NCR instances (with their polling interval), synchronization status, and
drop all sourcestats, manual, refclock and RTC samples.

This should make the recovery more graceful if the estimated jump has a
large error (e.g. select didn't timeout, or after system suspend).
2014-06-02 17:38:32 +02: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 local: reset daemon after unexpected time jump 2014-06-02 17:38:32 +02: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 test: update for recent changes in Linux driver 2014-05-20 17:14:33 +02:00
104-driftfile Add simulation tests 2014-02-27 18:34:52 +01:00
105-ntpauth test: extend 105-ntpauth 2014-03-21 13:20:29 +01:00
106-refclock test: update for recent changes in Linux driver 2014-05-20 17:14:33 +02: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 test: update for recent changes in Linux driver 2014-05-20 17:14:33 +02:00
110-chronyc test: make 110-chronyc even more tolerant 2014-05-16 18:51:06 +02:00
111-knownclient test: update for latest clknetsim 2014-03-25 17:33:55 +01:00
112-port test: add 112-port 2014-03-26 12:24:36 +01:00
201-freqaccumulation test: update for recent changes in Linux driver 2014-05-20 17:14:33 +02:00
README Add simulation tests 2014-02-27 18:34:52 +01:00
run test: add missing run script 2014-04-08 17:00:47 +02:00
test.common test: update for recent changes in Linux driver 2014-05-20 17:14:33 +02: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.