Lines Matching refs:replace_env
178 t = replace_env("FOO=$FOO=${FOO}", (char**) env, flags); in test_replace_env1()
181 s = replace_env("BAR=$BAR=${BAR}", (char**) env, flags); in test_replace_env1()
184 q = replace_env("BARBAR=$BARBAR=${BARBAR}", (char**) env, flags); in test_replace_env1()
187 r = replace_env("BAR=$BAR$BAR${BAR}${BAR}", (char**) env, flags); in test_replace_env1()
190 p = replace_env("${BAR}$BAR$BAR", (char**) env, flags); in test_replace_env1()
205 t = replace_env("FOO=${FOO:-${BAR}}", (char**) env, flags); in test_replace_env2()
208 s = replace_env("BAR=${XXX:-${BAR}}", (char**) env, flags); in test_replace_env2()
211 q = replace_env("XXX=${XXX:+${BAR}}", (char**) env, flags); in test_replace_env2()
214 r = replace_env("FOO=${FOO:+${BAR}}", (char**) env, flags); in test_replace_env2()
217 p = replace_env("FOO=${FOO:-${BAR}post}", (char**) env, flags); in test_replace_env2()
220 x = replace_env("XXX=${XXX:+${BAR}post}", (char**) env, flags); in test_replace_env2()
223 y = replace_env("FOO=${FOO}between${BAR:-baz}", (char**) env, flags); in test_replace_env2()
227 TEST(replace_env) { in TEST() argument