mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 17:45:06 -05:00
test: add 136-broadcast test
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user