Lines Matching refs:path
80 std::string path; in TEST() local
83 path = tf.path; in TEST()
86 ASSERT_EQ(0, mkfifo(path.c_str(), 0666)); in TEST()
88 ASSERT_EQ(0, stat(path.c_str(), &sb)); in TEST()
90 unlink(path.c_str()); in TEST()
175 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.path, 0751, 0)); in TEST()
176 AssertFileModeEquals(0751, tf.path); in TEST()
182 int result = fchmodat(AT_FDCWD, tf.path, 0751, AT_SYMLINK_NOFOLLOW); in TEST()
187 AssertFileModeEquals(0751, tf.path); in TEST()
200 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
202 ASSERT_EQ(0, symlink(tf.path, linkname)); in TEST()
204 AssertFileModeEquals(0751, tf.path); in TEST()
213 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
214 snprintf(target, sizeof(target), "%s.doesnotexist", tf.path); in TEST()
232 ASSERT_EQ(0, stat(tf.path, &tf_sb)); in TEST()
235 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
237 ASSERT_EQ(0, symlink(tf.path, linkname)); in TEST()
248 AssertFileModeEquals(tf_sb.st_mode, tf.path); in TEST()
257 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
258 snprintf(target, sizeof(target), "%s.doesnotexist", tf.path); in TEST()