From: Miroslav Lichvar Date: Mon, 17 Sep 2018 16:36:04 +0000 (+0200) Subject: test: add 136-broadcast test X-Git-Tag: 3.4~3 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=add932501feced4c6563a071abfca5b3498a143e;p=thirdparty%2Fchrony.git test: add 136-broadcast test --- diff --git a/test/simulation/136-broadcast b/test/simulation/136-broadcast new file mode 100755 index 00000000..d60d6784 --- /dev/null +++ b/test/simulation/136-broadcast @@ -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