| 112 | } |
| 113 | |
| 114 | static int |
| 115 | test_usage(void) |
| 116 | { |
| 117 | if (rte_set_application_usage_hook(dummy_app_usage) != NULL) { |
| 118 | printf("Non-NULL value returned for initial usage hook\n"); |
| 119 | return -1; |
| 120 | } |
| 121 | if (rte_set_application_usage_hook(NULL) != dummy_app_usage) { |
| 122 | printf("Incorrect value returned for application usage hook\n"); |
| 123 | return -1; |
| 124 | } |
| 125 | return 0; |
| 126 | } |
| 127 | |
| 128 | static int |
| 129 | test_debug(void) |
no test coverage detected