| Index: recipe_modules/context/tests/env.expected/basic.json
|
| diff --git a/recipe_modules/context/tests/env.expected/basic.json b/recipe_modules/context/tests/env.expected/basic.json
|
| index 2756a903db08fbd3d619be5bba298a967ba82aae..e98f60cc30bb7a0098b7a63aa942392f761254bc 100644
|
| --- a/recipe_modules/context/tests/env.expected/basic.json
|
| +++ b/recipe_modules/context/tests/env.expected/basic.json
|
| @@ -27,6 +27,83 @@
|
| },
|
| "name": "with 2 envs"
|
| },
|
| + {
|
| + "cmd": [
|
| + "bash",
|
| + "-c",
|
| + "echo $FOO"
|
| + ],
|
| + "env": {
|
| + "FOO": "bar"
|
| + },
|
| + "name": "env step"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "bash",
|
| + "-c",
|
| + "echo $FOO"
|
| + ],
|
| + "env": {
|
| + "FOO": "foo:<FOO>:baz"
|
| + },
|
| + "name": "env step augmented"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "bash",
|
| + "-c",
|
| + "echo $FOO"
|
| + ],
|
| + "env": {
|
| + "FOO": "[START_DIR]/pants:[START_DIR]/shirt:foo:<FOO>:baz:[START_DIR]/pants:[START_DIR]/shirt"
|
| + },
|
| + "name": "env step with prefix and suffix"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "bash",
|
| + "-c",
|
| + "echo $FOO"
|
| + ],
|
| + "env": {
|
| + "FOO": "[START_DIR]/pants:foo:<FOO>:baz:[START_DIR]/pants"
|
| + },
|
| + "name": "env with path removal"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "bash",
|
| + "-c",
|
| + "echo $FOO"
|
| + ],
|
| + "env": {
|
| + "FOO": "foo:<FOO>:baz"
|
| + },
|
| + "name": "env with full path removal"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "bash",
|
| + "-c",
|
| + "echo $FOO"
|
| + ],
|
| + "env": {
|
| + "FOO": "[START_DIR]/pants:[START_DIR]/shirt:foo:<FOO>:baz"
|
| + },
|
| + "name": "env with empty prefix"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "bash",
|
| + "-c",
|
| + "echo $FOO"
|
| + ],
|
| + "env": {
|
| + "FOO": "[START_DIR]/shirt:<FOO>"
|
| + },
|
| + "name": "env with default value"
|
| + },
|
| {
|
| "name": "$result",
|
| "recipe_result": null,
|
|
|