Searched defs:scoped_test_env (Results 1 – 2 of 2) sorted by relevance
125 struct scoped_test_env struct127 scoped_test_env() : test_root(random_env_path()) in scoped_test_env() function130 ~scoped_test_env() in ~scoped_test_env() argument136 fs::path make_env_path(std::string p) { return sanitize_path(p); } in make_env_path()138 std::string sanitize_path(std::string raw) { in sanitize_path()150 std::string create_file(std::string filename, std::size_t size = 0) { in create_file()160 std::string create_dir(std::string filename) { in create_dir()166 std::string create_symlink(std::string source, std::string to) { in create_symlink()173 std::string create_hardlink(std::string source, std::string to) { in create_hardlink()180 std::string create_fifo(std::string file) { in create_fifo()[all …]
115 struct scoped_test_env struct117 scoped_test_env() : test_root(available_cwd_path()) { in scoped_test_env() argument135 ~scoped_test_env() { in ~scoped_test_env() argument152 scoped_test_env & operator=(scoped_test_env const &) = delete; argument154 fs::path make_env_path(std::string p) { return sanitize_path(p); } in make_env_path()156 std::string sanitize_path(std::string raw) { in sanitize_path()176 auto large_file_fopen = fopen;177 auto large_file_ftruncate = utils::ftruncate;178 using large_file_offset_t = off_t;180 auto large_file_fopen = fopen64;[all …]