| 422 | } |
| 423 | |
| 424 | static int |
| 425 | test_free_null(void) |
| 426 | { |
| 427 | struct rte_thash_ctx *ctx; |
| 428 | |
| 429 | ctx = rte_thash_init_ctx("test", 40, 7, NULL, 0); |
| 430 | RTE_TEST_ASSERT(ctx != NULL, "Can not create CTX\n"); |
| 431 | |
| 432 | rte_thash_free_ctx(ctx); |
| 433 | rte_thash_free_ctx(NULL); |
| 434 | |
| 435 | return TEST_SUCCESS; |
| 436 | } |
| 437 | |
| 438 | static int |
| 439 | test_add_invalid_helper(void) |
nothing calls this directly
no test coverage detected