test: add 136-broadcast test
This commit is contained in:
parent
89390a738f
commit
add932501f
1 changed files with 16 additions and 0 deletions
16
test/simulation/136-broadcast
Executable file
16
test/simulation/136-broadcast
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
. ./test.common
|
||||||
|
|
||||||
|
test_start "broadcast directive"
|
||||||
|
|
||||||
|
server_conf="broadcast 64 192.168.123.255"
|
||||||
|
client_server_options="offline"
|
||||||
|
|
||||||
|
run_test || test_fail
|
||||||
|
check_chronyd_exit || test_fail
|
||||||
|
check_packet_interval && test_fail
|
||||||
|
|
||||||
|
check_file_messages " 1 2 " 150 160 log.packets || test_fail
|
||||||
|
|
||||||
|
test_pass
|
Loading…
Reference in a new issue