]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: add 012-daemonts test
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 17 Sep 2018 16:26:32 +0000 (18:26 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 17 Sep 2018 16:36:22 +0000 (18:36 +0200)
test/simulation/012-daemonts [new file with mode: 0755]

diff --git a/test/simulation/012-daemonts b/test/simulation/012-daemonts
new file mode 100755 (executable)
index 0000000..b883516
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+. ./test.common
+
+test_start "daemon timestamping"
+
+export CLKNETSIM_TIMESTAMPING=0
+
+run_test || test_fail
+check_chronyd_exit || test_fail
+check_source_selection || test_fail
+check_packet_interval || test_fail
+check_sync || test_fail
+
+test_pass