Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Side by Side Diff: recipe_modules/context/tests/env.expected/basic.json

Issue 2925453002: [context] Add path prefix/suffix manipulation. (Closed)
Patch Set: comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "echo", 4 "echo",
5 "hello" 5 "hello"
6 ], 6 ],
7 "name": "no env" 7 "name": "no env"
8 }, 8 },
9 { 9 {
10 "cmd": [ 10 "cmd": [
(...skipping 10 matching lines...) Expand all
21 "echo", 21 "echo",
22 "hello" 22 "hello"
23 ], 23 ],
24 "env": { 24 "env": {
25 "SOMETHING": "1", 25 "SOMETHING": "1",
26 "SOMETHING_ELSE": "0" 26 "SOMETHING_ELSE": "0"
27 }, 27 },
28 "name": "with 2 envs" 28 "name": "with 2 envs"
29 }, 29 },
30 { 30 {
31 "cmd": [
32 "bash",
33 "-c",
34 "echo $FOO"
35 ],
36 "env": {
37 "FOO": "bar"
38 },
39 "name": "env step"
40 },
41 {
42 "cmd": [
43 "bash",
44 "-c",
45 "echo $FOO"
46 ],
47 "env": {
48 "FOO": "foo:<FOO>:baz"
49 },
50 "name": "env step augmented"
51 },
52 {
53 "cmd": [
54 "bash",
55 "-c",
56 "echo $FOO"
57 ],
58 "env": {
59 "FOO": "[START_DIR]/pants:[START_DIR]/shirt:foo:<FOO>:baz"
60 },
61 "name": "env step with prefix"
62 },
63 {
64 "cmd": [
65 "bash",
66 "-c",
67 "echo $FOO"
68 ],
69 "env": {
70 "FOO": "[START_DIR]/shirt"
71 },
72 "name": "env with default value"
73 },
74 {
31 "name": "$result", 75 "name": "$result",
32 "recipe_result": null, 76 "recipe_result": null,
33 "status_code": 0 77 "status_code": 0
34 } 78 }
35 ] 79 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698