Lines Matching refs:mktemp
62 atf_tc_set_md_var(tc, "descr", "Test that mktemp(3)"
69 ATF_REQUIRE(mktemp(template) != NULL);
75 atf_tc_set_md_var(tc, "descr", "Test that mktemp "
81 const char *path = "/tmp/mktemp.XXXXXX";
95 ATF_REQUIRE(mktemp(template) != NULL);
98 ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
101 (void)strcpy(template, "/tmp/mktemp.");
106 ATF_REQUIRE(mktemp(template) != NULL);
109 ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
121 char template[] = "/tmp/mktemp.XXXXXX";
130 ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
146 char template[] = "/tmp/mktemp.XXXyyy";
156 ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
173 char template[] = "/tmp/mktemp.XXXXXX";
180 ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
200 char template[] = "/tmp/mktemp.XXXXXX";
212 ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);
235 char template[] = "/tmp/mktemp.XXXyyy";
248 ATF_REQUIRE(strncmp(template, "/tmp/mktemp.", 12) == 0);