Lines Matching defs:path
44 const char *path;
80 ptr = realpath(paths[i].path, buf);
86 atf_tc_fail("realpath failed for '%s'", paths[i].path);
97 atf_tc_set_md_var(tc, "descr", "Test huge path with realpath(3)");
120 char path[MAXPATHLEN] = { 0 };
125 (void)getcwd(path, sizeof(path));
128 (void)strlcat(path, "/realpath", sizeof(path));
131 fd = open(path, O_RDONLY | O_CREAT, 0600);
134 ATF_REQUIRE(symlink(path, slnk) == 0);
138 ATF_REQUIRE(strcmp(resb, path) == 0);
140 ATF_REQUIRE(unlink(path) == 0);