mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 10:05:07 -05:00
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.
This commit is contained in:
@@ -14,7 +14,7 @@ chronyc_start="0.5"
|
||||
chronyc_conf="tracking"
|
||||
|
||||
for year in `seq 1850 100 2300`; do
|
||||
date="Jan 1 00:00:00 $year"
|
||||
date="Jan 01 00:00:00 $year"
|
||||
export CLKNETSIM_START_DATE=$(date -d "$date UTC" +'%s')
|
||||
run_test || test_fail
|
||||
check_chronyd_exit || test_fail
|
||||
|
||||
Reference in New Issue
Block a user