From: Miroslav Lichvar Date: Thu, 31 Mar 2016 13:57:56 +0000 (+0200) Subject: test: add 121-orphan X-Git-Tag: 2.4-pre1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da96d334abdc1a6b3f2b4d9912c230504c13927a;p=thirdparty%2Fchrony.git test: add 121-orphan --- diff --git a/test/simulation/121-orphan b/test/simulation/121-orphan new file mode 100755 index 00000000..ed92153e --- /dev/null +++ b/test/simulation/121-orphan @@ -0,0 +1,23 @@ +#!/bin/bash + +. ./test.common + +test_start "orphan option" + +server_strata=3 +server_conf="local stratum 5 orphan +server 192.168.123.1 +server 192.168.123.2 +server 192.168.123.3" +max_sync_time=500 +chronyc_start=300 +chronyc_conf="tracking" +time_rms_limit=5e-4 + +run_test || test_fail +check_chronyd_exit || test_fail +check_source_selection || test_fail +check_sync || test_fail +check_chronyc_output "^.*Stratum *: 7.*$" || test_fail + +test_pass