| Index: scripts/slave/recipe_modules/file/example.expected/file_io.json
|
| diff --git a/scripts/slave/recipe_modules/file/example.expected/file_io.json b/scripts/slave/recipe_modules/file/example.expected/file_io.json
|
| index 58285309e94d3c5ab87a327f0990b88dacac0a08..7b8c45696377c65cdbc58f8ec72ec4045a55097a 100644
|
| --- a/scripts/slave/recipe_modules/file/example.expected/file_io.json
|
| +++ b/scripts/slave/recipe_modules/file/example.expected/file_io.json
|
| @@ -7,7 +7,6 @@
|
| "/fake/dir",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "listdir fake dir",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@[@@@",
|
| @@ -28,7 +27,6 @@
|
| "some",
|
| "command"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "manipulate file 1"
|
| },
|
| {
|
| @@ -36,7 +34,6 @@
|
| "some",
|
| "command"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "manipulate file 2"
|
| },
|
| {
|
| @@ -44,7 +41,6 @@
|
| "echo",
|
| "[TMP_BASE]/prefix_a_tmp_1"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "print prefix_a"
|
| },
|
| {
|
| @@ -52,7 +48,6 @@
|
| "echo",
|
| "[TMP_BASE]/prefix_b_tmp_2"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "print prefix_b"
|
| },
|
| {
|
| @@ -63,7 +58,6 @@
|
| "*.o",
|
| "[SLAVE_BUILD]"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "rmwildcard *.o in [SLAVE_BUILD]",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -82,7 +76,6 @@
|
| "abcde",
|
| "tmp_file.txt"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "write_simple"
|
| },
|
| {
|
| @@ -93,7 +86,6 @@
|
| "tmp_file.txt",
|
| "/path/to/tmp/"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "read_simple"
|
| },
|
| {
|
| @@ -104,7 +96,6 @@
|
| "! ~&&",
|
| "tmp_file.txt"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "write_symbols"
|
| },
|
| {
|
| @@ -115,7 +106,6 @@
|
| "tmp_file.txt",
|
| "/path/to/tmp/"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "read_symbols"
|
| },
|
| {
|
| @@ -126,7 +116,6 @@
|
| "abcde fgh",
|
| "tmp_file.txt"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "write_spaces"
|
| },
|
| {
|
| @@ -137,7 +126,6 @@
|
| "tmp_file.txt",
|
| "/path/to/tmp/"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "read_spaces"
|
| },
|
| {
|
| @@ -148,7 +136,6 @@
|
| "ab\ncd\nefg\n",
|
| "tmp_file.txt"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "write_multiline"
|
| },
|
| {
|
| @@ -159,7 +146,6 @@
|
| "tmp_file.txt",
|
| "/path/to/tmp/"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "read_multiline"
|
| },
|
| {
|
| @@ -170,7 +156,6 @@
|
| "[SLAVE_BUILD]/copytree_example_tmp",
|
| "511"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "makedirs makedirs",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -193,7 +178,6 @@
|
| "some file content",
|
| "[SLAVE_BUILD]/copytree_example_tmp/dummy_file"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "write [SLAVE_BUILD]/copytree_example_tmp/dummy_file"
|
| },
|
| {
|
| @@ -205,7 +189,6 @@
|
| "[SLAVE_BUILD]/copytree_example_tmp2",
|
| "0"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "copytree"
|
| },
|
| {
|
| @@ -216,7 +199,6 @@
|
| "[SLAVE_BUILD]/copytree_example_tmp2/dummy_file",
|
| "/path/to/tmp/"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "read [SLAVE_BUILD]/copytree_example_tmp2/dummy_file"
|
| },
|
| {
|
| @@ -227,7 +209,6 @@
|
| "/path/to/tmp/",
|
| "[SLAVE_BUILD]/copytree_example_tmp/*"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "glob"
|
| },
|
| {
|
| @@ -237,7 +218,6 @@
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| "[SLAVE_BUILD]/copytree_example_tmp"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree cleanup",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -257,7 +237,6 @@
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| "[SLAVE_BUILD]/copytree_example_tmp2"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree cleanup2",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
|
|