test: extend 133-hwtimestamp test
This commit is contained in:
parent
64fd1b8ba5
commit
5c9e1e0b69
1 changed files with 17 additions and 14 deletions
|
@ -13,10 +13,12 @@ refclock_offset=10.0
|
||||||
min_sync_time=4
|
min_sync_time=4
|
||||||
max_sync_time=20
|
max_sync_time=20
|
||||||
limit=200
|
limit=200
|
||||||
client_conf="hwtimestamp eth0"
|
server_conf="hwtimestamp eth0"
|
||||||
client_server_options="minpoll 0 maxpoll 0 minsamples 32"
|
client_server_options="minpoll 0 maxpoll 0 minsamples 32 xleave"
|
||||||
client_chronyd_options="-d"
|
client_chronyd_options="-d"
|
||||||
|
|
||||||
|
for client_conf in "hwtimestamp eth0" "hwtimestamp eth0
|
||||||
|
acquisitionport 123"; do
|
||||||
run_test || test_fail
|
run_test || test_fail
|
||||||
check_chronyd_exit || test_fail
|
check_chronyd_exit || test_fail
|
||||||
check_source_selection || test_fail
|
check_source_selection || test_fail
|
||||||
|
@ -30,5 +32,6 @@ if check_config_h 'FEAT_DEBUG 1'; then
|
||||||
check_log_messages "update_tx_timestamp.*Updated" 50 140 || test_fail
|
check_log_messages "update_tx_timestamp.*Updated" 50 140 || test_fail
|
||||||
check_log_messages "update_tx_timestamp.*Unacceptable" 50 140 || test_fail
|
check_log_messages "update_tx_timestamp.*Unacceptable" 50 140 || test_fail
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
test_pass
|
test_pass
|
||||||
|
|
Loading…
Reference in a new issue