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

Function test_lookup_null

dpdk/app/test/test_event_ring.c:71–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71static int
72test_lookup_null(void)
73{
74 struct rte_event_ring *rlp = rte_event_ring_lookup("ring_not_found");
75 if (rlp == NULL && rte_errno != ENOENT) {
76 printf("test failed to return error on null pointer\n");
77 return -1;
78 }
79 return 0;
80}
81
82static int
83test_basic_event_enqueue_dequeue(void)

Callers 1

test_event_ringFunction · 0.70

Calls 2

rte_event_ring_lookupFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected