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

Function test_exit

dpdk/app/test/test_debug.c:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static int
96test_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
108static void
109dummy_app_usage(const char *progname)

Callers 1

test_debugFunction · 0.85

Calls 2

test_exit_valFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected