Home | History | Annotate | Download | only in tests

Lines Matching refs:tf

75       TemporaryFile tf;
76 path = tf.filename;
149 TemporaryFile tf;
151 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.filename, 0751, 0));
152 AssertFileModeEquals(0751, tf.filename);
156 TemporaryFile tf;
158 int result = fchmodat(AT_FDCWD, tf.filename, 0751, AT_SYMLINK_NOFOLLOW);
163 AssertFileModeEquals(0751, tf.filename);
173 TemporaryFile tf;
176 snprintf(linkname, sizeof(linkname), "%s.link", tf.filename);
178 ASSERT_EQ(0, symlink(tf.filename, linkname));
180 AssertFileModeEquals(0751, tf.filename);
185 TemporaryFile tf;
189 snprintf(linkname, sizeof(linkname), "%s.link", tf.filename);
190 snprintf(target, sizeof(target), "%s.doesnotexist", tf.filename);
206 TemporaryFile tf;
208 ASSERT_EQ(0, stat(tf.filename, &tf_sb));
211 snprintf(linkname, sizeof(linkname), "%s.link", tf.filename);
213 ASSERT_EQ(0, symlink(tf.filename, linkname));
224 AssertFileModeEquals(tf_sb.st_mode, tf.filename);
229 TemporaryFile tf;
233 snprintf(linkname, sizeof(linkname), "%s.link", tf.filename);
234 snprintf(target, sizeof(target), "%s.doesnotexist", tf.filename);