Lines Matching refs:file1_s1d1

46 static const char file1_s1d1[] = TMP_DIR "/s1d1/f1";  variable
315 create_file(_metadata, file1_s1d1); in create_layout1()
343 EXPECT_EQ(0, remove_path(file1_s1d1)); in remove_layout1()
408 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
791 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
792 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY | O_PATH)); in TEST_F_FORK()
842 ASSERT_EQ(0, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
843 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
872 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
873 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
874 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
928 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
929 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
930 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
953 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
954 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
955 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
978 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
979 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
980 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
1015 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
1024 ASSERT_EQ(-1, mknod(file1_s1d1, S_IFREG | 0700, 0)); in TEST_F_FORK()
1036 ASSERT_EQ(-1, mknod(file1_s1d1, S_IFREG | 0700, 0)); in TEST_F_FORK()
1246 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1280 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1301 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1331 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1426 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1435 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1668 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1882 copy_binary(_metadata, file1_s1d1); in TEST_F_FORK()
1890 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
1891 test_execute(_metadata, EACCES, file1_s1d1); in TEST_F_FORK()
1922 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
1929 ASSERT_EQ(-1, link(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
2031 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
2096 ASSERT_EQ(-1, rename(dir_s1d2, file1_s1d1)); in TEST_F_FORK()
2098 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s1d2, in TEST_F_FORK()
2102 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
2178 ASSERT_EQ(layer1_err, test_rename(file1_s1d1, file1_s1d2)); in refer_denied_by_default()
2180 ASSERT_EQ(layer1_err, test_rename(file1_s1d2, file1_s1d1)); in refer_denied_by_default()
2195 ASSERT_EQ(EXDEV, test_rename(file1_s1d1, file1_s1d2)); in refer_denied_by_default()
2297 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
2302 ASSERT_EQ(-1, link(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
2312 ASSERT_EQ(-1, link(file1_s2d2, file1_s1d1)); in TEST_F_FORK()
2379 ASSERT_EQ(-1, renameat2(AT_FDCWD, file2_s1d1, AT_FDCWD, file1_s1d1, in TEST_F_FORK()
2382 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file2_s1d1, in TEST_F_FORK()
2385 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
2386 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
2416 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d1)); in TEST_F_FORK()
2603 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d2)); in TEST_F_FORK()
2607 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d3)); in TEST_F_FORK()
2621 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d2)); in TEST_F_FORK()
2626 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d3)); in TEST_F_FORK()
2655 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d3, in TEST_F_FORK()
2658 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, file1_s1d1, in TEST_F_FORK()
2712 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, file1_s2d3, in TEST_F_FORK()
2715 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d3, AT_FDCWD, file1_s1d1, in TEST_F_FORK()
2821 ASSERT_EQ(-1, rename(file1_s1d1, dir_s2d2)); in TEST_F_FORK()
2823 ASSERT_EQ(-1, rename(dir_s2d2, file1_s1d1)); in TEST_F_FORK()
2825 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s2d2, in TEST_F_FORK()
2828 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s2d3, in TEST_F_FORK()
2960 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
2999 ASSERT_EQ(-1, unlink(file1_s1d1)); in TEST_F_FORK()
3001 ASSERT_EQ(-1, unlinkat(AT_FDCWD, file1_s1d1, 0)); in TEST_F_FORK()
3022 ASSERT_EQ(0, unlink(file1_s1d1)); in test_make_file()
3039 ASSERT_EQ(-1, mknod(file1_s1d1, mode | 0400, dev)); in test_make_file()
3041 ASSERT_EQ(-1, link(file2_s1d1, file1_s1d1)); in test_make_file()
3043 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in test_make_file()
3111 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
3124 ASSERT_EQ(-1, symlink("none", file1_s1d1)); in TEST_F_FORK()
3126 ASSERT_EQ(-1, link(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
3128 ASSERT_EQ(-1, rename(file2_s1d1, file1_s1d1)); in TEST_F_FORK()
3156 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
3164 ASSERT_EQ(-1, mkdir(file1_s1d1, 0700)); in TEST_F_FORK()
3245 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDWR)); in TEST_F_FORK()
3315 const char *const file_r = file1_s1d1; in TEST_F_FORK()
3372 const char *const file_rwt = file1_s1d1; in TEST_F_FORK()
3496 const char *const path = file1_s1d1; in TEST_F_FORK()
3571 create_file(_metadata, file1_s1d1); in FIXTURE_SETUP()
3576 EXPECT_EQ(0, remove_path(file1_s1d1)); in FIXTURE_TEARDOWN()
3635 const char *const path = file1_s1d1; in TEST_F_FORK()
3676 const char *const path = file1_s1d1; in TEST_F_FORK()
3796 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
3873 ASSERT_EQ(0, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
3874 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
3895 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_RDONLY)); in TEST_F_FORK()
3896 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
3974 ASSERT_EQ(-1, rename(file1_s1d1, file1_s1d2)); in TEST_F_FORK()
4532 .file_path = file1_s1d1, in FIXTURE_VARIANT_ADD()