Change in libosmo-abis[master]: tests: Disable stderr log color in trau_sync_test

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
Wed Sep 9 14:48:23 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/20047 )

Change subject: tests: Disable stderr log color in trau_sync_test
......................................................................

tests: Disable stderr log color in trau_sync_test

Change-Id: Ibe8e2d580848a41dd25e0ae2d95f83233be6ed9a
---
M tests/trau_sync/trau_sync_test.c
M tests/trau_sync/trau_sync_test.err
2 files changed, 14 insertions(+), 14 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/tests/trau_sync/trau_sync_test.c b/tests/trau_sync/trau_sync_test.c
index 392a236..d804b3e 100644
--- a/tests/trau_sync/trau_sync_test.c
+++ b/tests/trau_sync/trau_sync_test.c
@@ -79,6 +79,7 @@
 int main(int argc, char **argv)
 {
 	osmo_init_logging2(NULL, NULL);
+	log_set_use_color(osmo_stderr_target, 0);
 	osmo_fsm_log_addr(false);
 	log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
 	test_body();
diff --git a/tests/trau_sync/trau_sync_test.err b/tests/trau_sync/trau_sync_test.err
index f3eac3c..7e4a24a 100644
--- a/tests/trau_sync/trau_sync_test.err
+++ b/tests/trau_sync/trau_sync_test.err
@@ -1,15 +1,14 @@
 <0000> trau_sync(test){WAIT_FRAME_ALIGN}: Allocated
-<0000> trau_sync(test){WAIT_FRAME_ALIGN}: Received Event RX_BITS
-<0000> trau_sync(test){WAIT_FRAME_ALIGN}: Received Event RX_BITS
-<0000> trau_sync(test){WAIT_FRAME_ALIGN}: Received Event RX_BITS
-<0000> trau_sync(test){WAIT_FRAME_ALIGN}: state_chg to FRAME_ALIGNED
-<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
-<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
-<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
-<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
-<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
-<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
-<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
-<0000> trau_sync(test){FRAME_ALIGNED}: state_chg to FRAME_ALIGNMENT_LOST
-<0000> trau_sync(test){FRAME_ALIGNMENT_LOST}: Received Event RX_BITS
-
\ No newline at end of file
+<0000> trau_sync(test){WAIT_FRAME_ALIGN}: Received Event RX_BITS
+<0000> trau_sync(test){WAIT_FRAME_ALIGN}: Received Event RX_BITS
+<0000> trau_sync(test){WAIT_FRAME_ALIGN}: Received Event RX_BITS
+<0000> trau_sync(test){WAIT_FRAME_ALIGN}: state_chg to FRAME_ALIGNED
+<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
+<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
+<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
+<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
+<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
+<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
+<0000> trau_sync(test){FRAME_ALIGNED}: Received Event RX_BITS
+<0000> trau_sync(test){FRAME_ALIGNED}: state_chg to FRAME_ALIGNMENT_LOST
+<0000> trau_sync(test){FRAME_ALIGNMENT_LOST}: Received Event RX_BITS

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

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ibe8e2d580848a41dd25e0ae2d95f83233be6ed9a
Gerrit-Change-Number: 20047
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200909/bf9caba6/attachment.htm>


More information about the gerrit-log mailing list