Lines Matching refs:tc
51 ATF_TC_HEAD(sethostname_basic, tc)
53 atf_tc_set_md_var(tc, "descr", "A basic test of sethostname(3)");
54 atf_tc_set_md_var(tc, "require.user", "root");
57 ATF_TC_BODY(sethostname_basic, tc)
74 ATF_TC_CLEANUP(sethostname_basic, tc)
80 ATF_TC_HEAD(sethostname_limit, tc)
82 atf_tc_set_md_var(tc, "descr", "Too long host name errors out?");
83 atf_tc_set_md_var(tc, "require.user", "root");
86 ATF_TC_BODY(sethostname_limit, tc)
95 ATF_TC_CLEANUP(sethostname_limit, tc)
101 ATF_TC_HEAD(sethostname_perm, tc)
103 atf_tc_set_md_var(tc, "descr", "Can normal user set the host name?");
104 atf_tc_set_md_var(tc, "require.user", "unprivileged");
107 ATF_TC_BODY(sethostname_perm, tc)
115 ATF_TC_CLEANUP(sethostname_perm, tc)