Lines Matching refs:tf
82 TemporaryFile tf; in TEST() local
83 path = tf.path; in TEST()
173 TemporaryFile tf; in TEST() local
175 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.path, 0751, 0)); in TEST()
176 AssertFileModeEquals(0751, tf.path); in TEST()
180 TemporaryFile tf; in TEST() local
182 int result = fchmodat(AT_FDCWD, tf.path, 0751, AT_SYMLINK_NOFOLLOW); in TEST()
187 AssertFileModeEquals(0751, tf.path); in TEST()
197 TemporaryFile tf; in TEST() local
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()
209 TemporaryFile tf; in TEST() local
213 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
214 snprintf(target, sizeof(target), "%s.doesnotexist", tf.path); in TEST()
230 TemporaryFile tf; in TEST() local
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()
253 TemporaryFile tf; in TEST() local
257 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
258 snprintf(target, sizeof(target), "%s.doesnotexist", tf.path); in TEST()