Lines Matching refs:file1_s2d2
78 static const char file1_s2d2[] = TMP_DIR "/s2d1/s2d2/f1"; variable
351 create_file(_metadata, file1_s2d2); in create_layout1()
376 EXPECT_EQ(0, remove_path(file1_s2d2)); in remove_layout1()
447 ASSERT_EQ(0, test_open(file1_s2d2, O_RDONLY)); in TEST_F_FORK()
855 .path = file1_s2d2, in TEST_F_FORK()
886 ASSERT_EQ(0, test_open(file1_s2d2, O_RDONLY)); in TEST_F_FORK()
889 reg_fd = open(file1_s2d2, O_RDWR | O_CLOEXEC); in TEST_F_FORK()
898 reg_fd = open(file1_s2d2, O_RDONLY | O_CLOEXEC); in TEST_F_FORK()
2177 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d2)); in TEST_F_FORK()
2189 ASSERT_EQ(0, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s2d3, in TEST_F_FORK()
2191 ASSERT_EQ(0, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s2d3, in TEST_F_FORK()
2226 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s1d3, in TEST_F_FORK()
2491 ASSERT_EQ(-1, link(file1_s2d2, file1_s1d1)); in TEST_F_FORK()
2494 ASSERT_EQ(-1, link(file1_s2d2, file1_s1d2)); in TEST_F_FORK()
2498 ASSERT_EQ(0, link(file1_s2d2, file1_s1d3)); in TEST_F_FORK()
2499 ASSERT_EQ(0, unlink(file1_s2d2)); in TEST_F_FORK()
2501 ASSERT_EQ(-1, link(file1_s1d3, file1_s2d2)); in TEST_F_FORK()
2595 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d1)); in TEST_F_FORK()
2598 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d2)); in TEST_F_FORK()
2602 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, file2_s1d3, in TEST_F_FORK()
2606 ASSERT_EQ(0, rename(file1_s2d2, file1_s1d3)); in TEST_F_FORK()
2609 ASSERT_EQ(-1, rename(file1_s1d3, file1_s2d2)); in TEST_F_FORK()
2725 ASSERT_EQ(0, unlink(file1_s2d2)); in TEST_F_FORK()
2734 ASSERT_EQ(0, rename(dir_s1d3, file1_s2d2)); in TEST_F_FORK()
2735 ASSERT_EQ(0, rename(file1_s2d2, dir_s1d3)); in TEST_F_FORK()
2758 ASSERT_EQ(-1, rename(dir_s1d3, file1_s2d2)); in TEST_F_FORK()
2782 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d2)); in TEST_F_FORK()
2784 ASSERT_EQ(-1, rename(file1_s1d2, file1_s2d2)); in TEST_F_FORK()
2792 ASSERT_EQ(-1, rename(dir_s1d1, file1_s2d2)); in TEST_F_FORK()
2794 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d2)); in TEST_F_FORK()
2800 ASSERT_EQ(-1, rename(file1_s1d1, file1_s2d2)); in TEST_F_FORK()
2803 ASSERT_EQ(-1, rename(file2_s1d2, file1_s2d2)); in TEST_F_FORK()
2815 ASSERT_EQ(-1, rename(dir_s1d1, file1_s2d2)); in TEST_F_FORK()
2817 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d2)); in TEST_F_FORK()
2874 ASSERT_EQ(0, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_file2_s2d3, in TEST_F_FORK()
2881 ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD, file1_s2d2, in TEST_F_FORK()
2884 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_file2_s2d3, in TEST_F_FORK()
2938 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_file2_s2d3, in TEST_F_FORK()
2941 ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD, file1_s2d2, in TEST_F_FORK()
2960 ASSERT_EQ(0, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD, file1_s2d2, in TEST_F_FORK()
2962 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_file2_s2d3, in TEST_F_FORK()
2965 ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_file2_s2d3, AT_FDCWD, file1_s2d2, in TEST_F_FORK()
3025 ASSERT_EQ(0, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s1d3, in TEST_F_FORK()
3027 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d2, AT_FDCWD, dir_s1d3, in TEST_F_FORK()
3086 ASSERT_EQ(0, rename(file1_s1d2, file1_s2d2)); in TEST_F_FORK()
3087 ASSERT_EQ(0, rename(file1_s2d2, file1_s1d2)); in TEST_F_FORK()
3102 ASSERT_EQ(0, rename(dir_s1d3, file1_s2d2)); in TEST_F_FORK()
3103 ASSERT_EQ(0, rename(file1_s2d2, dir_s1d3)); in TEST_F_FORK()
4430 ASSERT_EQ(0, test_open(file1_s2d2, O_RDONLY)); in TEST_F_FORK()
4510 ASSERT_EQ(0, test_open(file1_s2d2, O_RDWR)); in TEST_F_FORK()
4533 ASSERT_EQ(0, test_open(file1_s2d2, O_RDWR)); in TEST_F_FORK()
4553 ASSERT_EQ(EACCES, test_open(file1_s2d2, O_RDONLY)); in TEST_F_FORK()
4554 ASSERT_EQ(EACCES, test_open(file1_s2d2, O_WRONLY)); in TEST_F_FORK()
4603 ASSERT_EQ(-1, rename(file1_s2d1, file1_s2d2)); in TEST_F_FORK()
4607 ASSERT_EQ(-1, rename(file1_s2d2, bind_file1_s1d3)); in TEST_F_FORK()
4611 ASSERT_EQ(0, rename(bind_file1_s1d3, file1_s2d2)); in TEST_F_FORK()