chrony/test/simulation
Miroslav Lichvar 8b676502de test: don't download files in tests
Remove automatic download and compilation of clknetsim. If clknetsim is
not found, skip all simulation tests, but don't fail "make check".
Also, respect the CLKNETSIM_PATH environment variable.
2016-02-05 15:20:40 +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 test: check also minimum outgoing packet interval 2014-06-03 18:10:27 +02:00
004-largetimeoffset test: check also minimum outgoing packet interval 2014-06-03 18:10:27 +02:00
005-externalstep test: check also minimum outgoing packet interval 2014-06-03 18:10:27 +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
008-ntpera test: add 008-ntpera 2014-08-15 11:18:44 +02:00
009-sourceselection test: don't check packet intervals in 009-sourceselection 2016-01-08 14:30:23 +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: check also minimum outgoing packet interval 2014-06-03 18:10:27 +02:00
104-driftfile test: check also minimum outgoing packet interval 2014-06-03 18:10:27 +02:00
105-ntpauth test: extend 105-ntpauth to test symmetric mode 2016-01-18 17:37:21 +01:00
106-refclock test: update for recent changes in Linux driver 2014-05-20 17:14:33 +02:00
107-allowdeny test: fix packet interval check 2014-06-03 14:59:21 +02:00
108-peer Add simulation tests 2014-02-27 18:34:52 +01:00
109-makestep test: extend 109-makestep 2014-06-05 14:26:07 +02:00
110-chronyc test: make 110-chronyc even more tolerant 2014-05-16 18:51:06 +02:00
111-knownclient test: fix 111-knownclient 2014-11-21 11:44:15 +01:00
112-port test: fix packet interval check 2014-06-03 14:59:21 +02:00
113-leapsecond smooth: add option to smooth out only leap seconds 2015-06-02 15:24:01 +02:00
114-presend sources: add option to limit selection by root distance 2015-08-25 17:35:34 +02:00
115-cmdmontime test: add 115-cmdmontime 2014-08-18 16:06:28 +02:00
116-minsources test: add 116-minsources 2014-10-20 18:05:20 +02:00
117-fallbackdrift test: fix source selection check 2015-04-02 16:43:25 +02:00
118-maxdelay test: add 118-maxdelay 2015-03-27 10:37:55 +01:00
119-smoothtime test: add 119-smoothtime 2015-04-07 10:42:32 +02:00
120-selectoptions test: add 120-selectoptions 2016-01-08 14:30:23 +01:00
201-freqaccumulation test: update for recent changes in Linux driver 2014-05-20 17:14:33 +02:00
202-prefer test: add 202-prefer 2015-06-08 12:33:46 +02:00
README test: don't download files in tests 2016-02-05 15:20:40 +01:00
run test: don't download files in tests 2016-02-05 15:20:40 +01:00
test.common test: don't download files in tests 2016-02-05 15:20:40 +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.