]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: extend 105-ntpauth
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 20 Mar 2014 17:46:41 +0000 (18:46 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 21 Mar 2014 12:20:29 +0000 (13:20 +0100)
test/simulation/105-ntpauth

index 3e88d9255a4eb1d269e91e6783019c3cb916b1db..d696446ee3009753e8121d1df56d110acfb50d28 100755 (executable)
@@ -27,7 +27,16 @@ server_conf=""
 
 run_test || test_fail
 check_chronyd_exit || test_fail
-# This check must fail as server doesn't know the key
+# These checks must fail as the server doesn't know the key
 check_sync && test_fail
+check_packet_interval && test_fail
 
+server_conf="keyfile tmp/keys"
+client_conf=""
+
+run_test || test_fail
+check_chronyd_exit || test_fail
+# These checks must fail as the client doesn't know the key
+check_sync && test_fail
+check_packet_interval && test_fail
 test_pass