chrony/test/simulation
Miroslav Lichvar 10719d6d35 reference: report same values in tracking command as in NTP
Use REF_GetReferenceParams() in the tracking command to simplify the
code and report the same values as what NTP clients of the server see.

When the local reference mode is active, this changes the leap status to
synchronised and reference time to one second behind current time. When
not synchronised, the root delay and root dispersion are now 1 second.
2016-04-08 16:21:19 +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
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: make 105-ntpauth more reliable 2016-03-14 17:42:49 +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 client: rework printing of reports 2016-03-17 15:50:39 +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: specify files with path in source commands 2016-02-05 15:20:40 +01:00
114-presend test: specify files with path in source commands 2016-02-05 15:20:40 +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: specify files with path in source commands 2016-02-05 15:20:40 +01:00
118-maxdelay test: specify files with path in source commands 2016-02-05 15:20:40 +01:00
119-smoothtime test: specify files with path in source commands 2016-02-05 15:20:40 +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
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: 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.