Lines Matching refs:TMP_DIR
41 #define TMP_DIR "tmp" macro
45 static const char dir_s1d1[] = TMP_DIR "/s1d1";
46 static const char file1_s1d1[] = TMP_DIR "/s1d1/f1";
47 static const char file2_s1d1[] = TMP_DIR "/s1d1/f2";
48 static const char dir_s1d2[] = TMP_DIR "/s1d1/s1d2";
49 static const char file1_s1d2[] = TMP_DIR "/s1d1/s1d2/f1";
50 static const char file2_s1d2[] = TMP_DIR "/s1d1/s1d2/f2";
51 static const char dir_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3";
52 static const char file1_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3/f1";
53 static const char file2_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3/f2";
55 static const char dir_s2d1[] = TMP_DIR "/s2d1";
56 static const char file1_s2d1[] = TMP_DIR "/s2d1/f1";
57 static const char dir_s2d2[] = TMP_DIR "/s2d1/s2d2";
58 static const char file1_s2d2[] = TMP_DIR "/s2d1/s2d2/f1";
59 static const char dir_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3";
60 static const char file1_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3/f1";
61 static const char file2_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3/f2";
63 static const char dir_s3d1[] = TMP_DIR "/s3d1";
64 static const char file1_s3d1[] = TMP_DIR "/s3d1/f1";
66 static const char dir_s3d2[] = TMP_DIR "/s3d1/s3d2";
67 static const char dir_s3d3[] = TMP_DIR "/s3d1/s3d2/s3d3";
228 if (strcmp(walker, TMP_DIR) == 0) in remove_path()
260 create_directory(_metadata, TMP_DIR); in prepare_layout_opt()
268 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
278 remove_path(TMP_DIR); in prepare_layout_opt()
280 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout_opt()
292 EXPECT_EQ(0, umount(TMP_DIR)); in cleanup_layout()
294 EXPECT_EQ(0, remove_path(TMP_DIR)); in cleanup_layout()
743 .path = TMP_DIR, in TEST_F_FORK()
1388 .path = TMP_DIR, in TEST_F_FORK()
1688 .path = TMP_DIR, in test_relative_path()
3762 static const char bind_dir_s1d3[] = TMP_DIR "/s2d1/s2d2/s1d3";
3763 static const char bind_file1_s1d3[] = TMP_DIR "/s2d1/s2d2/s1d3/f1";
3987 #define LOWER_BASE TMP_DIR "/lower"
4014 #define UPPER_BASE TMP_DIR "/upper"
4042 #define MERGE_BASE TMP_DIR "/merge"
4535 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
4542 .file_path = TMP_DIR "/test/cgroup.procs", in FIXTURE_VARIANT_ADD()
4549 .file_path = TMP_DIR "/self/status", in FIXTURE_VARIANT_ADD()
4556 .file_path = TMP_DIR "/kernel/notes", in FIXTURE_VARIANT_ADD()
4561 .source = TMP_DIR, in FIXTURE_VARIANT_ADD()
4564 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
4708 layer3_fs_tag_inode(_metadata, self, variant, TMP_DIR); in TEST_F_FORK()
4726 .path = TMP_DIR, in TEST_F_FORK()
4750 ASSERT_EQ(0, umount(TMP_DIR)); in TEST_F_FORK()
4755 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
4762 ASSERT_EQ(EACCES, test_open(TMP_DIR, O_RDONLY)); in TEST_F_FORK()