summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLutz Helwing <lutz_helwing@mentor.com>2016-02-25 15:11:32 +0100
committerLutz Helwing <lutz_helwing@mentor.com>2016-02-25 15:11:32 +0100
commit92010a51b525f0d32bf46b15e8e2fe6b1c7da4c4 (patch)
treee9afa6afe6b33376629619268467083405f0492a /tests
parentb348642c708660fcd1c7fc3137df892a68d36ba4 (diff)
downloadDLT-daemon-92010a51b525f0d32bf46b15e8e2fe6b1c7da4c4.tar.gz
Fix bug with truncation of string or raw block
With commit d319ebf4d2d449d70befae0eebbdd82c19c5315f a bug was introduces which lead to some messages getting not transmitted. Change-Id: I9f20177fbc7db9d7caf527e14159444b5fec168a Signed-off-by: Lutz Helwing <lutz_helwing@mentor.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/gtest_dlt_user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtest_dlt_user.cpp b/tests/gtest_dlt_user.cpp
index c7d8008..6f77b6e 100644
--- a/tests/gtest_dlt_user.cpp
+++ b/tests/gtest_dlt_user.cpp
@@ -2188,7 +2188,7 @@ TEST(t_dlt_log_raw, abnormal)
// undefined values for DltLogLevelType
// shouldn't it return -1?
- char data[5] = "test";
+// char data[5] = "test";
// TODO: uint16_t length = 4;
// TODO: EXPECT_GE(DLT_RETURN_ERROR,dlt_log_raw(&context, (DltLogLevelType)-100, data, length));
// TODO: EXPECT_GE(DLT_RETURN_ERROR,dlt_log_raw(&context, (DltLogLevelType)-10, data, length));