| Index: recipe_modules/file/examples/glob.expected/basic.json
|
| diff --git a/recipe_modules/file/examples/glob.expected/basic.json b/recipe_modules/file/examples/glob.expected/basic.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c314875e5cdc2a1f3cdccca08b59ff886703f196
|
| --- /dev/null
|
| +++ b/recipe_modules/file/examples/glob.expected/basic.json
|
| @@ -0,0 +1,121 @@
|
| +[
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "copy",
|
| + "data",
|
| + "[START_DIR]/thing.pat"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "write thing.pat"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "copy",
|
| + "data",
|
| + "[START_DIR]/other.pat"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "write other.pat"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "copy",
|
| + "data",
|
| + "[START_DIR]/something"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "write something"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "copy",
|
| + "data",
|
| + "[START_DIR]/file"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "write file"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "glob",
|
| + "[START_DIR]",
|
| + "*.pat"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "pat",
|
| + "stdout": "/path/to/tmp/",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@glob@[START_DIR]/other.pat@@@",
|
| + "@@@STEP_LOG_LINE@glob@[START_DIR]/thing.pat@@@",
|
| + "@@@STEP_LOG_END@glob@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "glob",
|
| + "[START_DIR]",
|
| + "*.nop"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "noop",
|
| + "stdout": "/path/to/tmp/",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_END@glob@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "glob",
|
| + "[START_DIR]",
|
| + "*thing*"
|
| + ],
|
| + "infra_step": true,
|
| + "name": "thing",
|
| + "stdout": "/path/to/tmp/",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@glob@[START_DIR]/something@@@",
|
| + "@@@STEP_LOG_LINE@glob@[START_DIR]/thing.pat@@@",
|
| + "@@@STEP_LOG_END@glob@@@"
|
| + ]
|
| + },
|
| + {
|
| + "name": "$result",
|
| + "recipe_result": null,
|
| + "status_code": 0
|
| + }
|
| +]
|
|
|