Searched refs:slnk (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_realpath.c | 124 char slnk[MAXPATHLEN] = { 0 }; in ATF_TC_BODY() local 131 ATF_REQUIRE_MSG(getcwd(slnk, sizeof(slnk)) != NULL, in ATF_TC_BODY() 135 (void)getcwd(slnk, sizeof(slnk)); in ATF_TC_BODY() 139 (void)strlcat(slnk, "/symbolic", sizeof(slnk)); in ATF_TC_BODY() 144 ATF_REQUIRE(symlink(path, slnk) == 0); in ATF_TC_BODY() 147 ATF_REQUIRE(realpath(slnk, resb) != NULL); in ATF_TC_BODY() 151 ATF_REQUIRE(unlink(slnk) == 0); in ATF_TC_BODY()
|
H A D | t_ftok.c | 43 static const char *slnk = "slnk"; variable 73 ATF_REQUIRE(symlink(path, slnk) == 0); in ATF_TC_BODY() 77 k3 = ftok(slnk, key); in ATF_TC_BODY() 91 ATF_REQUIRE(unlink(slnk) == 0); in ATF_TC_BODY() 98 (void)unlink(slnk); in ATF_TC_CLEANUP()
|
/freebsd/lib/libc/tests/gen/ |
H A D | realpath2_test.c | 70 char slnk[MAXPATHLEN] = { 0 }; in ATF_TC_BODY() local 74 (void)strlcat(slnk, "empty_symlink", sizeof(slnk)); in ATF_TC_BODY() 76 ATF_REQUIRE(symlink("", slnk) == 0); in ATF_TC_BODY() 89 ATF_REQUIRE(unlink(slnk) == 0); in ATF_TC_BODY()
|