Lines Matching refs:linkpath
873 char *linkpath = NULL; in test_symlink_long2long() local
874 asprintf(&linkpath, "%s/%s", parent, linkname); in test_symlink_long2long()
879 int rc = symlink(targetpath, linkpath); in test_symlink_long2long()
888 T_QUIET; T_ASSERT_POSIX_SUCCESS((linklen = readlink(linkpath, buf, targetlen)), CTXSTR); in test_symlink_long2long()
895 free(linkpath); in test_symlink_long2long()
899 free(linkpath); in test_symlink_long2long()
1002 char *linkpath = NULL; in test_symlink_intermediate() local
1003 asprintf(&linkpath, "%s/%s", basepath, linkname); in test_symlink_intermediate()
1006 T_QUIET; T_ASSERT_EQ(strlen(linkpath) + 1 + leaflen, pathlen, NULL); in test_symlink_intermediate()
1008 int rc = symlink(parentname, linkpath); in test_symlink_intermediate()
1012 if (strlen(linkpath) < MAXPATHLEN) { in test_symlink_intermediate()
1018 if (strlen(linkpath) < MAXLONGPATHLEN) { in test_symlink_intermediate()
1026 asprintf(&linkedpath, "%s/%s", linkpath, lastslash + 1); in test_symlink_intermediate()
1028 free(linkpath); in test_symlink_intermediate()