Lines Matching defs:link1
17 static const char *link1;
102 test_assert(t_realpath_to(link1, "/", &npath, &error) == 0);
105 /* .../link1/link1/child */
106 test_assert(t_realpath_to(t_strconcat(link1, "/link1/child", NULL),
110 /* relative link1/link1/child */
115 test_assert(t_realpath(t_strconcat("link1", "/link1/child", NULL),
125 test_assert(t_realpath_to(t_strconcat(link1, "/link4/child", NULL),
151 link1 = t_strconcat(tmpdir, "/link1", NULL);
152 if (symlink(tmpdir, link1) < 0)
153 i_fatal("symlink(%s, %s) failed: %m", tmpdir, link1);
155 const char *link1_child = t_strconcat(link1, "/child", NULL);
169 /* link4 points to link1 */
171 if (symlink("link1", link4) < 0)
172 i_fatal("symlink(link1, %s) failed: %m", link4);