blob: e40cf6e8c30c268108325606bf598bab2d045606 [file] [log] [blame]
[
{
"cmd": [
"python",
"-u",
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
"[START_DIR]/fuchsia",
"511"
],
"name": "makedirs makedirs",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@",
"@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
"@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
"@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
"@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
"@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
"@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
"@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
"@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
"@@@STEP_LOG_END@python.inline@@@"
]
},
{
"cmd": [
"git",
"init",
"[START_DIR]/fuchsia"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git init"
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/fuchsia.git"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git remote"
},
{
"cmd": [
"git",
"fetch"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git fetch"
},
{
"cmd": [
"git",
"checkout",
"-f",
"abcdef0123456789abcdef0123456789abcdef01"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git checkout"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git rev-parse",
"stdout": "/path/to/tmp/"
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git clean"
},
{
"cmd": [
"git",
"show",
"HEAD",
"--format=%H",
"-s"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git show",
"stdout": "/path/to/tmp/"
},
{
"cmd": [
"git",
"show",
"HEAD",
"--format=%at",
"-s"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git show (2)",
"stdout": "/path/to/tmp/"
},
{
"cmd": [
"git",
"-c",
"foo=bar",
"status"
],
"cwd": "[START_DIR]/fuchsia",
"name": "git status"
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]