| 93 | } |
| 94 | |
| 95 | static int |
| 96 | test_exit(void) |
| 97 | { |
| 98 | int test_vals[] = { 0, 1, 2, 255, -1 }; |
| 99 | unsigned i; |
| 100 | for (i = 0; i < RTE_DIM(test_vals); i++) { |
| 101 | if (test_exit_val(test_vals[i]) < 0) |
| 102 | return -1; |
| 103 | } |
| 104 | printf("%s Passed\n", __func__); |
| 105 | return 0; |
| 106 | } |
| 107 | |
| 108 | static void |
| 109 | dummy_app_usage(const char *progname) |
no test coverage detected