chrony/test/simulation
Miroslav Lichvar 3f51805e62 client: rework printing of reports
Add a new printf-like function to allow printing of all fields at once
and rework all commands which print a report to use it. Add functions
for printing of headers and information fields, and formatting of IP
addresses and reference IDs.
2016-03-17 15:50:39 +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: 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 client: rework printing of reports 2016-03-17 15:50:39 +01: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
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.