Lines Matching refs:dir_s2d2
57 static const char dir_s2d2[] = TMP_DIR "/s2d1/s2d2"; variable
350 EXPECT_EQ(0, remove_path(dir_s2d2)); in remove_layout1()
418 ASSERT_EQ(0, test_open(dir_s2d2, O_RDONLY)); in TEST_F_FORK()
800 ASSERT_EQ(EACCES, test_open(dir_s2d2, O_RDONLY)); in TEST_F_FORK()
801 ASSERT_EQ(0, test_open(dir_s2d2, O_RDONLY | O_PATH)); in TEST_F_FORK()
1701 .path = dir_s2d2, in test_relative_path()
1721 ASSERT_EQ(0, chdir(dir_s2d2)); in test_relative_path()
1979 .path = dir_s2d2, in TEST_F_FORK()
2016 ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d2, AT_FDCWD, file1_s1d3, in TEST_F_FORK()
2021 ASSERT_EQ(-1, renameat2(AT_FDCWD, dir_s2d2, AT_FDCWD, file1_s2d1, in TEST_F_FORK()
2025 ASSERT_EQ(-1, rename(dir_s2d2, file1_s2d1)); in TEST_F_FORK()
2027 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s2d1, AT_FDCWD, dir_s2d2, in TEST_F_FORK()
2125 .path = dir_s2d2, in TEST_F_FORK()
2139 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d2)); in TEST_F_FORK()
2146 ASSERT_EQ(-1, rename(dir_s1d3, dir_s2d2)); in TEST_F_FORK()
2280 .path = dir_s2d2, in TEST_F_FORK()
2358 .path = dir_s2d2, in TEST_F_FORK()
2486 ASSERT_EQ(-1, rename(dir_s2d2, file1_s1d3)); in TEST_F_FORK()
2504 .path = dir_s2d2, in reparent_exdev_layers_enforce1()
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()
2870 .path = dir_s2d2, in TEST_F_FORK()
3749 ASSERT_EQ(0, mount(dir_s1d2, dir_s2d2, NULL, MS_BIND, NULL)); in FIXTURE_SETUP()
3756 EXPECT_EQ(0, umount(dir_s2d2)); in FIXTURE_TEARDOWN()
3804 ASSERT_EQ(0, test_open(dir_s2d2, O_RDONLY)); in TEST_F_FORK()
3843 .path = dir_s2d2, in TEST_F_FORK()
3886 ASSERT_EQ(0, test_open(dir_s2d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
3909 ASSERT_EQ(0, test_open(dir_s2d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
3930 ASSERT_EQ(EACCES, test_open(dir_s2d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()