MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_usage

Function test_usage

dpdk/app/test/test_debug.c:114–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114static int
115test_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
128static int
129test_debug(void)

Callers 1

test_debugFunction · 0.85

Calls 2

printfFunction · 0.50

Tested by

no test coverage detected