diff options
author | Karol Latecki <karolx.latecki@intel.com> | 2016-10-19 18:18:16 -0400 |
---|---|---|
committer | Karol Latecki <karolx.latecki@intel.com> | 2016-10-21 10:42:31 +0200 |
commit | 7a7ef4def34d6a2c9b21a9b4135cedd14fb9f72d (patch) | |
tree | cf0df6d5844170f3f2be4559bee695e5f991c3bb /test | |
parent | 128f0192aeb75682f2ed7ff643b4587c7f86f5dc (diff) |
tldk: fix for wrong rte_errno value in event.c
Change-Id: Ia4890e174fa5e19ccfaeb23c1ba3e3d69f841af7
Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/gtest/test_tle_udp_event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gtest/test_tle_udp_event.cpp b/test/gtest/test_tle_udp_event.cpp index 6d5c548..c7c25a0 100644 --- a/test/gtest/test_tle_udp_event.cpp +++ b/test/gtest/test_tle_udp_event.cpp @@ -78,7 +78,7 @@ TEST_F(udp_event, udp_event_alloc_free_max_reached) last_event = tle_event_alloc(evq, (void *) &fake_data); ASSERT_EQ(last_event, (struct tle_event *) NULL); - ASSERT_EQ(rte_errno, -ENOMEM); + ASSERT_EQ(rte_errno, ENOMEM); for (i = 1; i <= max_events; i++) { tle_event_free(event); |