From 9adf32fb60206065026e9c3ef7088ef6bcc013be Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 12 Dec 2016 14:22:59 +0100 Subject: logging test: cosmetic: print target and don't print color Prepares for upcoming modifications of the logging test to show and fix bugs in the logging system. Change-Id: I9461b987adf85d87469a6af55de5f1aa478f6ebb --- tests/logging/logging_test.c | 2 ++ tests/logging/logging_test.err | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/logging') diff --git a/tests/logging/logging_test.c b/tests/logging/logging_test.c index 3d1b7d87..91b0aaf5 100644 --- a/tests/logging/logging_test.c +++ b/tests/logging/logging_test.c @@ -75,6 +75,8 @@ int main(int argc, char **argv) log_add_target(stderr_target); log_set_all_filter(stderr_target, 1); log_set_print_filename(stderr_target, 0); + log_set_print_category(stderr_target, 1); + log_set_use_color(stderr_target, 0); log_parse_category_mask(stderr_target, "DRLL:DCC"); log_parse_category_mask(stderr_target, "DRLL"); diff --git a/tests/logging/logging_test.err b/tests/logging/logging_test.err index 4891491b..4a350fa9 100644 --- a/tests/logging/logging_test.err +++ b/tests/logging/logging_test.err @@ -1,4 +1,3 @@ -You should see this -You should see this -You should see this - \ No newline at end of file +DRLL You should see this +DCC You should see this +DRLL You should see this -- cgit v1.2.3