commit | 236aaf994fc6d05e07b159eadd7763e80b7a50ac | [log] [tgz] |
---|---|---|
author | Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> | Wed May 12 07:58:19 2021 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Wed May 12 23:36:01 2021 -0500 |
tree | dfec07ee953b94e8170c4bfdc8e009408f354704 | |
parent | f7b7a672e9c46e53b760ce191bfd24a4730aac10 [diff] |
tests: logging: log_api: Fix in mock backend Mock backend is using 32 bytes for hexdump data and only hexdumps with less data shall be compared against expected one. Wrong operator was used and comparing was performed only when hexdump size exceeded 32 bytes. Spotted by Coverity CID 236015. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>