Home | History | Annotate | Download | only in engine

Lines Matching defs:env

37 #include "utils/env.hpp"
47 std::map< std::string, std::string > env;
48 env["foo"] = "first";
49 env["bar"] = "second";
50 const engine::context context(fs::path("/foo/bar"), env);
52 ATF_REQUIRE(env == context.env());
61 ATF_REQUIRE(utils::getallenv() == context.env());
68 std::map< std::string, std::string > env;
69 env["foo"] = "first";
70 const engine::context context1(fs::path("/foo/bar"), env);
71 const engine::context context2(fs::path("/foo/bar"), env);
72 const engine::context context3(fs::path("/foo/baz"), env);
73 env["bar"] = "second";
74 const engine::context context4(fs::path("/foo/bar"), env);
87 const std::map< std::string, std::string > env;
88 const engine::context context(fs::path("/foo/bar"), env);
92 ATF_REQUIRE_EQ("context{cwd='/foo/bar', env=[]}", str.str());
99 std::map< std::string, std::string > env;
100 env["foo"] = "first";
101 env["bar"] = "second' var";
102 const engine::context context(fs::path("/foo/bar"), env);
106 ATF_REQUIRE_EQ("context{cwd='/foo/bar', env=[bar='second\\' var', "