test: add debug message to ntp unit test

This commit is contained in:
Miroslav Lichvar 2019-08-15 18:46:04 +02:00
parent 58fc81441b
commit 219a414cb7

View 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);