Lines Matching refs:dir_s3d2
66 static const char dir_s3d2[] = TMP_DIR "/s3d1/s3d2"; variable
328 create_directory(_metadata, dir_s3d2); in create_layout1()
330 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1()
355 umount(dir_s3d2); in remove_layout1()
357 EXPECT_EQ(0, remove_path(dir_s3d2)); in remove_layout1()
424 ASSERT_EQ(0, test_open(dir_s3d2, O_RDONLY)); in TEST_F_FORK()
1452 .path = dir_s3d2, in TEST_F_FORK()
1468 ASSERT_EQ(0, test_open(dir_s3d2, O_RDONLY)); in TEST_F_FORK()
1497 ASSERT_EQ(0, test_open(dir_s3d2, O_RDONLY)); in TEST_F_FORK()
1567 ASSERT_EQ(0, syscall(__NR_pivot_root, dir_s3d2, dir_s3d3)) in TEST_F_FORK()
1587 .path = dir_s3d2, in TEST_F_FORK()
1599 ASSERT_EQ(-1, mount(NULL, dir_s3d2, NULL, MS_RDONLY, NULL)); in TEST_F_FORK()
1601 ASSERT_EQ(-1, syscall(__NR_pivot_root, dir_s3d2, dir_s3d3)); in TEST_F_FORK()
1610 .path = dir_s3d2, in TEST_F_FORK()
1620 ASSERT_EQ(0, syscall(__NR_move_mount, AT_FDCWD, dir_s3d2, AT_FDCWD, in TEST_F_FORK()
1627 dir_s3d2, 0)); in TEST_F_FORK()
1634 ASSERT_EQ(-1, syscall(__NR_move_mount, AT_FDCWD, dir_s3d2, AT_FDCWD, in TEST_F_FORK()
1648 .path = dir_s3d2, in TEST_F_FORK()
1662 ASSERT_EQ(0, umount(dir_s3d2)); in TEST_F_FORK()
1669 ASSERT_EQ(EACCES, test_open(dir_s3d2, O_RDONLY)); in TEST_F_FORK()