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

Function test_cirbuf_string

dpdk/app/test/test_cmdline_cirbuf.c:1268–1290  ·  view source on GitHub ↗

test cmdline_cirbuf string functions */

Source from the content-addressed store, hash-verified

1266
1267/* test cmdline_cirbuf string functions */
1268int
1269test_cirbuf_string(void)
1270{
1271 if (test_cirbuf_string_add_del() < 0)
1272 return -1;
1273
1274 if (test_cirbuf_string_add_del_reverse() < 0)
1275 return -1;
1276
1277 if (test_cirbuf_string_add_boundaries() < 0)
1278 return -1;
1279
1280 if (test_cirbuf_string_get_del_boundaries() < 0)
1281 return -1;
1282
1283 if (test_cirbuf_string_get_del_partial() < 0)
1284 return -1;
1285
1286 if (test_cirbuf_string_misc() < 0)
1287 return -1;
1288
1289 return 0;
1290}
1291
1292/* test cmdline_cirbuf align functions */
1293int

Callers 1

test_cmdlineFunction · 0.85

Tested by

no test coverage detected