diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-02-18 19:10:28 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-02-20 17:13:58 +0000 |
commit | 690b661fbc5f3794f7f8a363dc80535491f93b42 (patch) | |
tree | 3194aa51bf97decb022f01dd0a66cf896889a95e /tests/gsup/gsup_test.c | |
parent | 2665388e2678f0f19e3cede6705d1cac02b52189 (diff) |
tests: Set print_category values explicitly
This will alow easily changing default values for print_category vs
print_category_hex later.
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.
Related: OS#5034
Change-Id: If29b40557d5c2bcda04b964f344070bad58d8f28
Diffstat (limited to 'tests/gsup/gsup_test.c')
-rw-r--r-- | tests/gsup/gsup_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gsup/gsup_test.c b/tests/gsup/gsup_test.c index f34ac7a6..f84072c1 100644 --- a/tests/gsup/gsup_test.c +++ b/tests/gsup/gsup_test.c @@ -752,6 +752,7 @@ int main(int argc, char **argv) log_set_print_filename(osmo_stderr_target, 0); log_set_print_timestamp(osmo_stderr_target, 0); log_set_use_color(osmo_stderr_target, 0); + log_set_print_category_hex(osmo_stderr_target, 0); log_set_print_category(osmo_stderr_target, 1); test_gsup_messages_dec_enc(); |