]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: add 111-knownclient
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 21 Mar 2014 11:05:48 +0000 (12:05 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 21 Mar 2014 12:20:36 +0000 (13:20 +0100)
test/simulation/111-knownclient [new file with mode: 0755]

diff --git a/test/simulation/111-knownclient b/test/simulation/111-knownclient
new file mode 100755 (executable)
index 0000000..2d3887d
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+. test.common
+
+test_start "reply to client configured as server"
+
+server_conf="server 192.168.123.2"
+log_packets=1
+
+run_test || test_fail
+check_chronyd_exit || test_fail
+check_source_selection || test_fail
+check_packet_interval || test_fail
+check_packet_port || test_fail
+check_sync || test_fail
+
+test_pass