test: add 136-broadcast test

This commit is contained in:
Miroslav Lichvar 2018-09-17 18:36:04 +02:00
parent 89390a738f
commit add932501f

16
test/simulation/136-broadcast Executable file
View 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