chrony/test/simulation
Miroslav Lichvar 64c2fd9888 ntp: limit number of interleaved responses in symmetric mode
In symmetric mode, don't send a packet in interleaved mode unless it is
the first response to the last valid request received from the peer and
there was just one response to the previous valid request. This prevents
the peer from matching the transmit timestamp with an older response if
it can't detect missed responses.
2017-08-09 09:57:13 +02:00
..
001-defaults test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
002-largenetwork test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
003-largefreqoffset test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
004-largetimeoffset test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
005-externalstep test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
006-largejitter test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
007-largewander test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
008-ntpera test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
009-sourceselection test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
010-multrecv test: add 010-multrecv 2016-08-11 10:45:48 +02:00
011-asymjitter test: add 011-asymjitter 2016-09-06 15:48:59 +02:00
101-poll test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
102-iburst test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
103-initstepslew test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
104-driftfile test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
105-ntpauth test: extend 105-ntpauth 2016-12-02 14:53:03 +01:00
106-refclock test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
107-allowdeny test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
108-peer test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
109-makestep test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
110-chronyc test: update 110-chronyc 2017-01-27 11:54:12 +01:00
111-knownclient test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
112-port test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
113-leapsecond test: extend 113-leapsecond 2016-09-06 15:48:59 +02:00
114-presend ntp: shorten presend delay to 2 seconds 2016-11-25 17:33:42 +01:00
115-cmdmontime reference: report same values in tracking command as in NTP 2016-04-08 16:21:19 +02:00
116-minsources test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
117-fallbackdrift test: make 117-fallbackdrift more reliable 2017-03-10 16:51:03 +01:00
118-maxdelay test: make 118-maxdelay more reliable 2017-03-31 14:53:27 +02:00
119-smoothtime test: extend 119-smoothtime 2017-01-23 16:17:39 +01:00
120-selectoptions test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
121-orphan test: add 121-orphan 2016-03-31 16:12:14 +02:00
122-xleave ntp: limit number of interleaved responses in symmetric mode 2017-08-09 09:57:13 +02:00
201-freqaccumulation test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
202-prefer test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
README test: don't download files in tests 2016-02-05 15:20:40 +01:00
run test: improve run script 2017-03-31 14:53:27 +02:00
test.common test: add support for testing with asymmetric jitter 2016-09-06 15:48:59 +02: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.