MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_create_count_odd

Function test_create_count_odd

dpdk/app/test/test_event_ring.c:61–69  ·  view source on GitHub ↗

* Test to check if a non-power-of-2 count causes the create * function to fail correctly */

Source from the content-addressed store, hash-verified

59 * function to fail correctly
60 */
61static int
62test_create_count_odd(void)
63{
64 struct rte_event_ring *r = rte_event_ring_create("test_event_ring_count",
65 4097, SOCKET_ID_ANY, 0);
66 if (r != NULL)
67 return -1;
68 return 0;
69}
70
71static int
72test_lookup_null(void)

Callers 1

test_event_ringFunction · 0.85

Calls 1

rte_event_ring_createFunction · 0.85

Tested by

no test coverage detected