]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: extend 110-chronyc test
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 9 Jun 2025 10:08:57 +0000 (12:08 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 9 Jun 2025 10:08:57 +0000 (12:08 +0200)
test/simulation/110-chronyc

index 5020d1ca1a71c63d332cec22b55475c41ac3906d..1872d5cd9af6fa7dfd995fbfec13bb8548d8ee25 100755 (executable)
@@ -219,6 +219,11 @@ do
        run_test || test_fail
        check_chronyd_exit || test_fail
        check_chronyc_output "501 Not authorised$" || test_fail
+
+       server_conf="cmddeny 192.168.123.2"
+       run_test || test_fail
+       check_chronyd_exit || test_fail
+       check_chronyc_output "506 Cannot talk to daemon$" || test_fail
 done
 
 server_conf="server 192.168.123.1"