Change in libosmo-netif[master]: tests: Explicitly drop category from log

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Feb 19 11:58:50 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/22967 )


Change subject: tests: Explicitly drop category from log
......................................................................

tests: Explicitly drop category from log

Let's disable category here since we don't care about its formatting here.

In any case, every test relying on logging output validation should
always explicitly state the config to avoid issues in the future if
default values change.

Change-Id: Ia4bcf8dc441ad26cffc3aec5b374fbdca4a03841
Related: OS#5034
---
M tests/stream/stream_test.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/67/22967/1

diff --git a/tests/stream/stream_test.c b/tests/stream/stream_test.c
index b4846bc..0a0f9ef 100644
--- a/tests/stream/stream_test.c
+++ b/tests/stream/stream_test.c
@@ -380,6 +380,7 @@
 	log_set_log_level(osmo_stderr_target, LOGL_INFO);
 	log_set_use_color(osmo_stderr_target, 0);
 	log_set_print_category_hex(osmo_stderr_target, 0);
+	log_set_print_category(osmo_stderr_target, 0);
 	log_set_print_filename(osmo_stderr_target, 0);
 
 	printf("Preparing stream server...\n");

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/22967
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Ia4bcf8dc441ad26cffc3aec5b374fbdca4a03841
Gerrit-Change-Number: 22967
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210219/76e84bd5/attachment.htm>


More information about the gerrit-log mailing list