From: Miroslav Lichvar Date: Wed, 12 Sep 2018 15:24:07 +0000 (+0200) Subject: test: extend 110-chronyc test X-Git-Tag: 3.4~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa295730a05132bbb50cdb1a946bea779d19c35f;p=thirdparty%2Fchrony.git test: extend 110-chronyc test --- diff --git a/test/simulation/110-chronyc b/test/simulation/110-chronyc index 944cf3f3..7fe5dcfe 100755 --- a/test/simulation/110-chronyc +++ b/test/simulation/110-chronyc @@ -95,6 +95,8 @@ for chronyc_conf in \ "delete 10.0.0.0" \ "deny 1.2.3.4" \ "deny all 1.2.3.0/24" \ + "dfreq 1.0e-3" \ + "doffset -1.0" \ "dump" \ "local stratum 5 distance 1.0 orphan" \ "local off" \ @@ -126,6 +128,7 @@ for chronyc_conf in \ "settime 16:30" \ "settime 16:30:05" \ "settime Nov 21, 2015 16:30:05" \ + "serverstats" \ "shutdown" \ "smoothtime reset" \ "smoothtime activate" \ @@ -137,4 +140,24 @@ do check_chronyc_output "501 Not authorised" || test_fail done +chronyc_conf="dns -n +dns +n +dns -4 +dns -6 +dns -46 +timeout 200 +retries 1 +keygen +keygen 10 MD5 128 +help +quit +nosuchcommand" + +run_test || test_fail + +check_chronyc_output "^1 (MD5|SHA1) HEX:........................................ +10 MD5 HEX:................................ +System clock:.*this help + *$" || test_fail + test_pass