| Index: recipe_modules/file/examples/copy.expected/basic.json
|
| diff --git a/recipe_modules/file/examples/copy.expected/basic.json b/recipe_modules/file/examples/copy.expected/basic.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9038ac203bf1dd75b71fcbaf362959bb2cdf7fcc
|
| --- /dev/null
|
| +++ b/recipe_modules/file/examples/copy.expected/basic.json
|
| @@ -0,0 +1,77 @@
|
| +[
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "copy",
|
| + "Here is some text data",
|
| + "[START_DIR]/some file"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "write a file"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "copy",
|
| + "[START_DIR]/some file",
|
| + "[START_DIR]/new path"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "copy it"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "copy",
|
| + "[START_DIR]/new path",
|
| + "/path/to/tmp/"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "read it"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "move",
|
| + "[START_DIR]/new path",
|
| + "[START_DIR]/new new path"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "move it"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "copy",
|
| + "[START_DIR]/new new path",
|
| + "/path/to/tmp/"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "read it (2)"
|
| + },
|
| + {
|
| + "name": "$result",
|
| + "recipe_result": null,
|
| + "status_code": 0
|
| + }
|
| +]
|
|
|