]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: add debug message to ntp unit test
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 15 Aug 2019 16:46:04 +0000 (18:46 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 27 Aug 2019 15:11:49 +0000 (17:11 +0200)
test/unit/ntp_core.c

index ac01205b27701318a288b4adf2da8ddeb61c18da..18992acda883ef73a9a71de7ae3249d914ac0e42 100644 (file)
@@ -362,6 +362,10 @@ test_unit(void)
       if (inst1->mode == MODE_CLIENT)
         updated = 0;
 
+      DEBUG_LOG("authkey=%d version=%d interleaved=%d authenticated=%d valid=%d updated=%d has_updated=%d",
+                (int)source.params.authkey, source.params.version,
+                interleaved, authenticated, valid, updated, has_updated);
+
       send_request(inst1);
 
       send_response(interleaved, authenticated, 1, 0, 1);