Lines Matching refs:dir_s3d2
86 static const char dir_s3d2[] = TMP_DIR "/s3d1/s3d2"; variable
356 create_directory(_metadata, dir_s3d2); in create_layout1()
358 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1()
383 umount(dir_s3d2); in remove_layout1()
385 EXPECT_EQ(0, remove_path(dir_s3d2)); in remove_layout1()
452 ASSERT_EQ(0, test_open(dir_s3d2, O_RDONLY)); in TEST_F_FORK()
1535 .path = dir_s3d2, in TEST_F_FORK()
1551 ASSERT_EQ(0, test_open(dir_s3d2, O_RDONLY)); in TEST_F_FORK()
1580 ASSERT_EQ(0, test_open(dir_s3d2, O_RDONLY)); in TEST_F_FORK()
1650 ASSERT_EQ(0, syscall(__NR_pivot_root, dir_s3d2, dir_s3d3)) in TEST_F_FORK()
1670 .path = dir_s3d2, in TEST_F_FORK()
1682 ASSERT_EQ(-1, mount(NULL, dir_s3d2, NULL, MS_RDONLY, NULL)); in TEST_F_FORK()
1684 ASSERT_EQ(-1, syscall(__NR_pivot_root, dir_s3d2, dir_s3d3)); in TEST_F_FORK()
1693 .path = dir_s3d2, in TEST_F_FORK()
1703 ASSERT_EQ(0, syscall(__NR_move_mount, AT_FDCWD, dir_s3d2, AT_FDCWD, in TEST_F_FORK()
1710 dir_s3d2, 0)); in TEST_F_FORK()
1717 ASSERT_EQ(-1, syscall(__NR_move_mount, AT_FDCWD, dir_s3d2, AT_FDCWD, in TEST_F_FORK()
1745 ASSERT_EQ(0, syscall(__NR_pivot_root, dir_s3d2, dir_s3d3)); in TEST_F_FORK()
1770 ASSERT_EQ(-1, mount(NULL, dir_s3d2, NULL, MS_PRIVATE | MS_REC, NULL)); in TEST_F_FORK()
1772 ASSERT_EQ(-1, syscall(__NR_move_mount, AT_FDCWD, dir_s3d2, AT_FDCWD, in TEST_F_FORK()
1775 ASSERT_EQ(-1, umount(dir_s3d2)); in TEST_F_FORK()
1777 ASSERT_EQ(-1, syscall(__NR_pivot_root, dir_s3d2, dir_s3d3)); in TEST_F_FORK()
1790 .path = dir_s3d2, in TEST_F_FORK()
1804 ASSERT_EQ(0, umount(dir_s3d2)); in TEST_F_FORK()
1811 ASSERT_EQ(EACCES, test_open(dir_s3d2, O_RDONLY)); in TEST_F_FORK()