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

Unified Diff: recipe_modules/shutil/example.expected/basic.json

Issue 1866313002: recipe engine: add tempfile and shutil modules (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: TODO Created 4 years, 8 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
« no previous file with comments | « recipe_modules/shutil/example.py ('k') | recipe_modules/tempfile/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/shutil/example.expected/basic.json
diff --git a/recipe_modules/shutil/example.expected/basic.json b/recipe_modules/shutil/example.expected/basic.json
new file mode 100644
index 0000000000000000000000000000000000000000..072804a7e4398b355727cecdddc87f38ea010161
--- /dev/null
+++ b/recipe_modules/shutil/example.expected/basic.json
@@ -0,0 +1,23 @@
+[
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil, sys\nshutil.rmtree(sys.argv[1])\n",
+ "foo"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "rmtree foo",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import shutil, sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1])@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "name": "$result",
+ "recipe_result": null,
+ "status_code": 0
+ }
+]
« no previous file with comments | « recipe_modules/shutil/example.py ('k') | recipe_modules/tempfile/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698