* Check that rte_fib_get_dp and rte_fib_get_rib fails gracefully * for incorrect user input arguments */
| 187 | * for incorrect user input arguments |
| 188 | */ |
| 189 | int32_t |
| 190 | test_get_invalid(void) |
| 191 | { |
| 192 | void *p; |
| 193 | |
| 194 | p = rte_fib_get_dp(NULL); |
| 195 | RTE_TEST_ASSERT(p == NULL, |
| 196 | "Call succeeded with invalid parameters\n"); |
| 197 | |
| 198 | p = rte_fib_get_rib(NULL); |
| 199 | RTE_TEST_ASSERT(p == NULL, |
| 200 | "Call succeeded with invalid parameters\n"); |
| 201 | |
| 202 | return TEST_SUCCESS; |
| 203 | } |
| 204 | |
| 205 | /* |
| 206 | * Add routes for one supernet with all possible depths and do lookup |
nothing calls this directly
no test coverage detected