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

Unified Diff: recipe_modules/step/example.expected/exceptional.json

Issue 2875543002: [recipe_modules/step] do not set cwd if it is start_dir. (Closed)
Patch Set: fix take 2 Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: recipe_modules/step/example.expected/exceptional.json
diff --git a/recipe_modules/step/example.expected/exceptional.json b/recipe_modules/step/example.expected/exceptional.json
index 01c8e351823c9a049653ed39d4a1c8be11af1cdc..4db168811e9b470bd248759195e0044ff932b6c0 100644
--- a/recipe_modules/step/example.expected/exceptional.json
+++ b/recipe_modules/step/example.expected/exceptional.json
@@ -15,6 +15,30 @@
},
{
"cmd": [
+ "mkdir",
+ "something"
+ ],
+ "name": "mk subdir"
+ },
+ {
+ "cmd": [
+ "bash",
+ "-c",
+ "echo Why hello, there, in a subdir."
+ ],
+ "cwd": "[START_DIR]/something",
+ "name": "something"
+ },
+ {
+ "cmd": [
+ "bash",
+ "-c",
+ "echo what happen"
+ ],
+ "name": "start_dir ignored"
+ },
+ {
+ "cmd": [
"bash",
"-c",
"echo Good bye, $friend."

Powered by Google App Engine
This is Rietveld 408576698