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

Function main

freebsd/contrib/xz-embedded/userspace/boottest.c:80–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80int main(int argc, char **argv)
81{
82 if (argc != 2)
83 fprintf(stderr, "Usage: %s [bb|bc|cc|cb]\n", argv[0]);
84 else if (strcmp(argv[1], "bb") == 0)
85 test_buf_to_buf();
86 else if (strcmp(argv[1], "bc") == 0)
87 test_buf_to_cb();
88 else if (strcmp(argv[1], "cc") == 0)
89 test_cb_to_cb();
90 else if (strcmp(argv[1], "cb") == 0)
91 test_cb_to_buf();
92 else
93 fprintf(stderr, "Usage: %s [bb|bc|cc|cb]\n", argv[0]);
94
95 return 0;
96}

Callers

nothing calls this directly

Calls 5

strcmpFunction · 0.85
test_buf_to_bufFunction · 0.85
test_buf_to_cbFunction · 0.85
test_cb_to_cbFunction · 0.85
test_cb_to_bufFunction · 0.85

Tested by

no test coverage detected