Lines Matching refs:file1_s1d1

66 static const char file1_s1d1[] = TMP_DIR "/s1d1/f1";  variable
343 create_file(_metadata, file1_s1d1); in create_layout1()
371 EXPECT_EQ(0, remove_path(file1_s1d1)); in remove_layout1()
436 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
874 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
875 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY | O_PATH)); in TEST_F_FORK()
925 ASSERT_EQ(0, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
926 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
955 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
956 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
957 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
1011 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1012 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1013 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
1036 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1037 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1038 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
1061 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1062 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1063 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
1098 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
1107 ASSERT_EQ(-1, mknod(file1_s1d1, S_IFREG | 0700, 0)); in TEST_F_FORK()
1119 ASSERT_EQ(-1, mknod(file1_s1d1, S_IFREG | 0700, 0)); in TEST_F_FORK()
1329 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1363 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1384 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1414 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1509 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1518 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1810 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
2024 copy_binary(_metadata, file1_s1d1); in TEST_F_FORK()
2032 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
2033 test_execute(_metadata, EACCES, file1_s1d1); in TEST_F_FORK()
2064 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
2071 ASSERT_EQ(-1, link(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
2173 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
2238 ASSERT_EQ(-1, rename(dir_s1d2, file1_s1d1)); in TEST_F_FORK()
2240 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s1d2, in TEST_F_FORK()
2244 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
2320 ASSERT_EQ(layer1_err, test_rename(file1_s1d1, file1_s1d2)); in refer_denied_by_default()
2322 ASSERT_EQ(layer1_err, test_rename(file1_s1d2, file1_s1d1)); in refer_denied_by_default()
2337 ASSERT_EQ(EXDEV, test_rename(file1_s1d1, file1_s1d2)); in refer_denied_by_default()
2476 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
2481 ASSERT_EQ(-1, link(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
2491 ASSERT_EQ(-1, link(file1_s2d2, file1_s1d1)); in TEST_F_FORK()
2558 ASSERT_EQ(-1, renameat2(AT_FDCWD, file2_s1d1, AT_FDCWD, file1_s1d1, in TEST_F_FORK()
2561 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file2_s1d1, in TEST_F_FORK()
2564 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
2565 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
2595 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d1)); in TEST_F_FORK()
2782 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d2)); in TEST_F_FORK()
2786 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d3)); in TEST_F_FORK()
2800 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d2)); in TEST_F_FORK()
2805 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d3)); in TEST_F_FORK()
2834 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d3, in TEST_F_FORK()
2837 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, file1_s1d1, in TEST_F_FORK()
2891 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d3, in TEST_F_FORK()
2894 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, file1_s1d1, in TEST_F_FORK()
3000 ASSERT_EQ(-1, rename(file1_s1d1, dir_s2d2)); in TEST_F_FORK()
3002 ASSERT_EQ(-1, rename(dir_s2d2, file1_s1d1)); in TEST_F_FORK()
3004 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s2d2, in TEST_F_FORK()
3007 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s2d3, in TEST_F_FORK()
3139 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
3178 ASSERT_EQ(-1, unlink(file1_s1d1)); in TEST_F_FORK()
3180 ASSERT_EQ(-1, unlinkat(AT_FDCWD, file1_s1d1, 0)); in TEST_F_FORK()
3201 ASSERT_EQ(0, unlink(file1_s1d1)); in test_make_file()
3218 ASSERT_EQ(-1, mknod(file1_s1d1, mode | 0400, dev)); in test_make_file()
3220 ASSERT_EQ(-1, link(file2_s1d1, file1_s1d1)); in test_make_file()
3222 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in test_make_file()
3290 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
3303 ASSERT_EQ(-1, symlink("none", file1_s1d1)); in TEST_F_FORK()
3305 ASSERT_EQ(-1, link(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
3307 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
3335 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
3343 ASSERT_EQ(-1, mkdir(file1_s1d1, 0700)); in TEST_F_FORK()
3424 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
3494 const char *const file_r = file1_s1d1; in TEST_F_FORK()
3551 const char *const file_rwt = file1_s1d1; in TEST_F_FORK()
3675 const char *const path = file1_s1d1; in TEST_F_FORK()
3750 create_file(_metadata, file1_s1d1); in FIXTURE_SETUP()
3755 EXPECT_EQ(0, remove_path(file1_s1d1)); in FIXTURE_TEARDOWN_PARENT()
3813 const char *const path = file1_s1d1; in TEST_F_FORK()
3854 const char *const path = file1_s1d1; in TEST_F_FORK()
4114 const char *const path = file1_s1d1; in TEST_F_FORK()
4152 const char *const path = file1_s1d1; in TEST_F_FORK()
4421 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
4498 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
4499 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
4520 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
4521 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
4599 ASSERT_EQ(-1, rename(file1_s1d1, file1_s1d2)); in TEST_F_FORK()
5152 .file_path = file1_s1d1, in FIXTURE_VARIANT_ADD()