2015-01-27 15:17, Daniel Mrzyglod:
> In test_sched, we are missing NULL pointer checks after calls to create the
> mempool and to allocate an mbuf. Add in these checks using
> TEST_ASSERT_NOT_NULL macros.
>
> Signed-off-by: Daniel Mrzyglod
[...]
> + TEST_ASSERT_NOT_NULL(mp, "Error create mem
2015-01-27 15:17, Daniel Mrzyglod:
> In test_sched, we are missing NULL pointer checks after calls to create the
> mempool and to allocate an mbuf. Add in these checks using
> TEST_ASSERT_NOT_NULL macros.
You are adding checks *and* replacing VERIFY by TEST_ASSERT_NOT_NULL.
It would be better to
In test_sched, we are missing NULL pointer checks after calls to create the
mempool and to allocate an mbuf. Add in these checks using TEST_ASSERT_NOT_NULL
macros.
Signed-off-by: Daniel Mrzyglod
---
app/test/test_sched.c | 23 ---
1 file changed, 12 insertions(+), 11 deletio
3 matches
Mail list logo