test: add 114-presend
This commit is contained in:
parent
9ce25bab04
commit
6d8ffeefd6
1 changed files with 22 additions and 0 deletions
22
test/simulation/114-presend
Executable file
22
test/simulation/114-presend
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
. test.common
|
||||||
|
test_start "presend option"
|
||||||
|
|
||||||
|
client_server_options="presend 6"
|
||||||
|
|
||||||
|
run_test || test_fail
|
||||||
|
check_chronyd_exit || test_fail
|
||||||
|
check_source_selection || test_fail
|
||||||
|
check_packet_interval || test_fail
|
||||||
|
check_sync || test_fail
|
||||||
|
|
||||||
|
base_delay=5
|
||||||
|
|
||||||
|
run_test || test_fail
|
||||||
|
check_chronyd_exit || test_fail
|
||||||
|
check_source_selection || test_fail
|
||||||
|
check_packet_interval || test_fail
|
||||||
|
check_sync || test_fail
|
||||||
|
|
||||||
|
test_pass
|
Loading…
Reference in a new issue