Searched refs:dump_env (Results 1 – 2 of 2) sorted by relevance
21 std::string dump_env(const char *const *env) { in dump_env() function105 EXPECT_EQ("", dump_env(env)); in TEST()124 EXPECT_EQ("val1=1\nval2=2\ndup=1\ndup=2\nempty=\n", dump_env(env)); in TEST()128 EXPECT_EQ("val1=1\nval2=2\ndup=1\ndup=2\nempty=\n", dump_env(env)); in TEST()143 EXPECT_EQ("val1=1\nval2=2\ndup=1\ndup=2\nempty=\n", dump_env(env)); in TEST()145 EXPECT_EQ("val1=3\nval2=2\ndup=1\ndup=2\nempty=\n", dump_env(env)); in TEST()147 EXPECT_EQ("val1=3\nval2=4\ndup=1\ndup=2\nempty=\n", dump_env(env)); in TEST()149 EXPECT_EQ("val1=3\nval2=4\ndup=5\ndup=2\nempty=\n", dump_env(env)); in TEST()151 EXPECT_EQ("val1=3\nval2=4\ndup=5\ndup=2\nempty=6\n", dump_env(env)); in TEST()153 EXPECT_EQ("val1=3\nval2=4\ndup=5\ndup=2\nempty=\n", dump_env(env)); in TEST()[all …]
127 int dump_env = 0; in main() local176 case ARG_ENV: dump_env = 1; break; in main()192 if (dump_env) in main()