Home
last modified time | relevance | path

Searched refs:slnk (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_realpath.c124 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 Dt_ftok.c43 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 Drealpath2_test.c70 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()