chrony/test/simulation
Miroslav Lichvar e7a254265f cmdmon: add reset command
The reset command drops all measurements and switches the reference to
the unsynchronised state. This command can help chronyd with recovery
when the measurements are known to be no longer valid or accurate, e.g.
due to moving the computer to a different network, or resuming the
computer from a low-power state (which resets the system clock).
2020-03-12 12:09:50 +01: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: add function for checking config.h in tests 2018-09-27 11:42:38 +02: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
012-daemonts test: add 012-daemonts test 2018-09-17 18:36:22 +02:00
013-nameserv test: add 013-nameserv test 2019-09-02 16:32:58 +02:00
101-poll test: improve 101-poll test 2018-08-10 16:46:38 +02: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 test 2019-09-24 16:39:49 +02:00
106-refclock test: fix tests to skip when missing required feature 2018-09-27 11:42:38 +02:00
107-allowdeny test: fix tests to skip when missing required feature 2018-09-27 11:42:38 +02:00
108-peer test: extend 108-peer test 2018-08-28 18:27:43 +02:00
109-makestep test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
110-chronyc cmdmon: add reset command 2020-03-12 12:09:50 +01:00
111-knownclient test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
112-port test: fix tests to skip when missing required feature 2018-09-27 11:42:38 +02:00
113-leapsecond test: fix tests to skip when missing required feature 2018-09-27 11:42:38 +02:00
114-presend ntp: shorten presend delay to 2 seconds 2016-11-25 17:33:42 +01:00
115-cmdmontime reference: make local reference timestamp consistent 2019-09-12 13:01:06 +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 ntp: improve maxdelayratio test 2017-08-28 14:27:14 +02:00
119-smoothtime test: fix tests to skip when missing required feature 2018-09-27 11:42:38 +02:00
120-selectoptions test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
121-orphan test: allow nodes to poll themselves 2019-09-12 14:51:12 +02:00
122-xleave test: extend 122-xleave test 2020-03-05 16:02:15 +01:00
123-mindelay test: add 123-mindelay test 2017-08-28 14:27:14 +02:00
124-tai test: fix tests to skip when missing required feature 2018-09-27 11:42:38 +02:00
125-packetloss test: add 125-packetloss test 2018-02-16 11:09:54 +01:00
126-burst test: extend 126-burst 2018-03-28 16:57:48 +02:00
127-filter test: add 127-filter test 2018-08-09 14:52:08 +02:00
128-nocontrol test: fix tests to skip when missing required feature 2018-09-27 11:42:38 +02:00
129-reload test: make 129-reload more reliable 2018-08-31 12:48:36 +02:00
130-quit test: extend 130-quit test 2019-08-06 16:11:07 +02:00
131-maxchange test: add 131-maxchange test 2018-08-28 18:27:43 +02:00
132-logchange test: make 132-logchange more reliable 2020-03-05 16:02:15 +01:00
133-hwtimestamp ntp: convert to new socket API 2019-07-18 17:29:35 +02:00
134-log test: fix tests to skip when missing required feature 2018-09-27 11:42:38 +02:00
135-ratelimit test: add 135-ratelimit test 2018-09-12 19:27:48 +02:00
136-broadcast test: add 136-broadcast test 2018-09-17 18:36:22 +02:00
137-pool test: add 137-pool test 2019-09-03 12:41:01 +02:00
138-syncloop test: add 138-syncloop test 2019-09-12 14:51:12 +02:00
139-nts test: add 139-nts test 2020-03-05 16:02:15 +01: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: disable server on client-only nodes by default 2019-09-12 14:51:12 +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.