Change in libosmo-sccp[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 12:06:31 UTC 2021


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


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: I899e63ab2702bf25514f6585fb45f5bbf60a9ac9
Related: OS#5034
---
M tests/xua/xua_test.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/69/22969/1

diff --git a/tests/xua/xua_test.c b/tests/xua/xua_test.c
index 6096807..a0cf51a 100644
--- a/tests/xua/xua_test.c
+++ b/tests/xua/xua_test.c
@@ -620,6 +620,8 @@
 	log_add_target(stderr_target);
 	log_set_use_color(stderr_target, 0);
 	log_set_print_filename(stderr_target, 0);
+	log_set_print_category(stderr_target, 0);
+	log_set_print_category_hex(stderr_target, 0);
 
 	test_isup_parse();
 	test_sccp_addr_parser();

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

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I899e63ab2702bf25514f6585fb45f5bbf60a9ac9
Gerrit-Change-Number: 22969
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/23b0d6b0/attachment.htm>


More information about the gerrit-log mailing list