Lines Matching refs:test
23 static void test(const char *pattern, const char *host)
33 test(NULL, "domain.com");
34 test("example.com domain.com", "domain.com");
35 test("example.com other.com", "domain.com");
36 test("example.com,domain.com", "domain.com");
37 test("example.com,domain.com", "otherdomain.com");
38 test("example.com, *.domain.com", "sub.domain.com");
39 test("example.com, *.domain.com", "domain.com");
40 test("example.com, .domain.com", "domain.com");
41 test("*", "domain.com");