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

Function service_name

dpdk/app/test/test_service_cores.c:248–256  ·  view source on GitHub ↗

verify the service name */

Source from the content-addressed store, hash-verified

246
247/* verify the service name */
248static int
249service_name(void)
250{
251 const char *name = rte_service_get_name(0);
252 int equal = strcmp(name, DUMMY_SERVICE_NAME);
253 TEST_ASSERT_EQUAL(0, equal, "Error: Service name not correct");
254
255 return unregister_all();
256}
257
258/* verify service attr get */
259static int

Callers

nothing calls this directly

Calls 3

rte_service_get_nameFunction · 0.85
strcmpFunction · 0.85
unregister_allFunction · 0.85

Tested by

no test coverage detected