From: Martin Wilck <mwilck@xxxxxxxx> This makes it easier to analyze errors from __wrap_dlog(). Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- tests/test-log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-log.c b/tests/test-log.c index 0c17cd9..c174587 100644 --- a/tests/test-log.c +++ b/tests/test-log.c @@ -20,6 +20,7 @@ void __wrap_dlog (int prio, const char * fmt, ...) va_start(ap, fmt); vsnprintf(buff, MAX_MSG_SIZE, fmt, ap); va_end(ap); + fprintf(stderr, "%s(%d): %s", __func__, prio, buff); expected = mock_ptr_type(char *); assert_memory_equal(buff, expected, strlen(expected)); } -- 2.36.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel