tests: logging: logging.thread: add missed LF in logs

Add missed line feed chars at the test's output to fix Ztest's
following status messages corrupted.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
Dmitrii Golovanov 2025-04-01 10:12:14 +02:00 committed by Benjamin Cabé
commit 315ff5dadc

View file

@ -278,7 +278,7 @@ ZTEST(test_log_core_additional, test_log_early_logging)
LOG_WRN("log warn before backend active");
LOG_ERR("log error before backend active");
TC_PRINT("Activate backend with context");
TC_PRINT("Activate backend with context\n");
memset(&backend1_cb, 0, sizeof(backend1_cb));
backend1_cb.total_logs = 3;
log_backend_enable(&backend1, &backend1_cb, LOG_LEVEL_DBG);
@ -382,7 +382,7 @@ ZTEST(test_log_core_additional, test_multiple_backends)
{
int cnt;
TC_PRINT("Test multiple backends");
TC_PRINT("Test multiple backends\n");
/* enable both backend1 and backend2 */
log_setup(true);
STRUCT_SECTION_COUNT(log_backend, &cnt);