| 69 | } |
| 70 | |
| 71 | static int |
| 72 | test_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 | |
| 82 | static int |
| 83 | test_basic_event_enqueue_dequeue(void) |
no test coverage detected