mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
19 lines
354 B
Bash
Executable File
19 lines
354 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
. ./test.common
|
|
|
|
test_start "broadcast directive"
|
|
|
|
server_conf="broadcast 64 192.168.123.255"
|
|
client_server_options="offline"
|
|
|
|
run_test || test_fail
|
|
if check_config_h 'FEAT_CMDMON 1'; then
|
|
check_chronyd_exit || test_fail
|
|
fi
|
|
check_packet_interval && test_fail
|
|
|
|
check_file_messages " 1 2 " 150 160 log.packets || test_fail
|
|
|
|
test_pass
|