diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-12 15:13:56 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-12 15:47:37 +0100 |
commit | 42240de04ce95e458b7b05cfa8357dae40e90b35 (patch) | |
tree | 7da7bf4ef72fe46d4994c30d4d02bf7e019e1f08 /tests/logging | |
parent | 85b42c46184118db2aaa50e44e97966523dd0269 (diff) |
fix logging: redirection to DLGLOBAL for invalid categories
For out-of-bounds logging categories, redirect to the proper DLGLOBAL array
index instead of returning -1.
Adjust test expectation which shows that the bugs tested for are fixed.
Note: there are separate bounds checking problems, left for another patch.
Change-Id: I6ea9a59e005a22e0305454291714fdb9531c346b
Diffstat (limited to 'tests/logging')
-rw-r--r-- | tests/logging/logging_test.err | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/logging/logging_test.err b/tests/logging/logging_test.err index 4a350fa9..cc21b32d 100644 --- a/tests/logging/logging_test.err +++ b/tests/logging/logging_test.err @@ -1,3 +1,5 @@ DRLL You should see this DCC You should see this DRLL You should see this +DLGLOBAL You should see this on DLGLOBAL (a) +DLGLOBAL You should see this on DLGLOBAL (b) |