From: Miroslav Lichvar Date: Thu, 15 Aug 2019 16:46:04 +0000 (+0200) Subject: test: add debug message to ntp unit test X-Git-Tag: 4.0-pre1~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=219a414cb7e9efe73cde91c475475313b85c3c26;p=thirdparty%2Fchrony.git test: add debug message to ntp unit test --- diff --git a/test/unit/ntp_core.c b/test/unit/ntp_core.c index ac01205b..18992acd 100644 --- a/test/unit/ntp_core.c +++ b/test/unit/ntp_core.c @@ -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);