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

Function main

tools/libutil/tests/trimdomain_test.c:78–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78int
79main(void)
80{
81
82 printf("1..5\n");
83
84 testit(TESTFQDN, -1, TESTHOST, "self");
85 testit("XXX" TESTDOMAIN, -1, "XXX", "different host, same domain");
86 testit("XXX" TESTDOMAIN, 1, NULL, "short hostsize");
87 testit("bogus.example.net", -1, NULL, "arbitrary host");
88 testit("XXX." TESTFQDN, -1, NULL, "domain is local hostname");
89
90 return (0);
91}

Callers

nothing calls this directly

Calls 2

testitFunction · 0.70
printfFunction · 0.50

Tested by

no test coverage detected