Lines Matching refs:hostname_cleanup
68 assert_se(streq(hostname_cleanup(s), "foobar"));
70 assert_se(streq(hostname_cleanup(s), "foobar.com"));
72 assert_se(streq(hostname_cleanup(s), "foobar.com"));
74 assert_se(streq(hostname_cleanup(s), "fooBAR"));
76 assert_se(streq(hostname_cleanup(s), "fooBAR.com"));
78 assert_se(streq(hostname_cleanup(s), "fooBAR"));
80 assert_se(streq(hostname_cleanup(s), "fooBAR.com"));
82 assert_se(streq(hostname_cleanup(s), "fbar"));
84 assert_se(isempty(hostname_cleanup(s)));
86 assert_se(isempty(hostname_cleanup(s)));
88 assert_se(isempty(hostname_cleanup(s)));
90 assert_se(streq(hostname_cleanup(s), "foobar"));
92 assert_se(streq(hostname_cleanup(s), "foobar"));
94 assert_se(streq(hostname_cleanup(s), "foo.bar"));
96 assert_se(streq(hostname_cleanup(s), "foo.bar"));
98 assert_se(streq(hostname_cleanup(s), "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"));