summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-18 11:35:33 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-09-18 11:38:33 +0200
commitd471fdafc7bd8ac523a13dde4907e5ac1abcaedc (patch)
treee7f1319246de59279abf96ee7e17ac817479dc6f /openbsc
parent4e53b2b103c116f8e32716bd0287c28bdeb07d5a (diff)
db_test: Disable using color in log output
It's really not used and only adds unneeded variabilities to output. Older libosmocore versions had a bug where extra color format characters were printed while newer versions have that fixed. Fixes: OS#4759 Change-Id: Idce85aa355d334929d8abdf5b99dad0622ecff58
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/tests/db/db_test.c1
-rw-r--r--openbsc/tests/db/db_test.err3
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/tests/db/db_test.c b/openbsc/tests/db/db_test.c
index 516718522..3d4493012 100644
--- a/openbsc/tests/db/db_test.c
+++ b/openbsc/tests/db/db_test.c
@@ -206,6 +206,7 @@ int main()
printf("Testing subscriber database code.\n");
osmo_init_logging(&log_info);
log_set_print_filename(osmo_stderr_target, 0);
+ log_set_use_color(osmo_stderr_target, 0);
dummy_net.subscr_group = &dummy_sgrp;
dummy_sgrp.net = &dummy_net;
diff --git a/openbsc/tests/db/db_test.err b/openbsc/tests/db/db_test.err
index 27e570372..4be5b10c7 100644
--- a/openbsc/tests/db/db_test.err
+++ b/openbsc/tests/db/db_test.err
@@ -1,3 +1,2 @@
Going to migrate from revision 3
-Going to migrate from revision 4
- \ No newline at end of file
+Going to migrate from revision 4