blob: 41fafeba5e1f3e2d8c448a29d1fa3e3e4394d213 [file] [log] [blame]
[
{
"cmd": [
"/bin/echo",
"[TMP_BASE]/foo"
],
"name": "step1"
},
{
"cmd": [
"echo",
"RECIPE_MODULE[recipe_engine::path]/resources/dir/file.py"
],
"name": "print resource"
},
{
"cmd": [
"echo",
"RECIPE_REPO[recipe_engine]/dir/file.py"
],
"name": "print package dir"
},
{
"cmd": [
"/bin/echo",
"[TMP_BASE]/checkout/jerky"
],
"name": "checkout path"
},
{
"cmd": [
"touch",
"[TMP_BASE]/new_file"
],
"name": "touch me"
},
{
"cmd": [
"rm",
"-rf",
"[START_DIR]/copy2"
],
"name": "rm copy2 (initial)"
},
{
"cmd": [
"rm",
"-rf",
"[START_DIR]/copy20"
],
"name": "rm copy20 (initial)"
},
{
"cmd": [
"mkdir",
"-p",
"[START_DIR]/copy1/foo/bar"
],
"name": "mkdirs"
},
{
"cmd": [
"touch",
"[START_DIR]/copy10"
],
"name": "touch copy10"
},
{
"cmd": [
"cp",
"-a",
"[START_DIR]/copy1",
"[START_DIR]/copy2"
],
"name": "cp copy1 copy2"
},
{
"cmd": [
"rm",
"-rf",
"[START_DIR]/copy2/foo"
],
"name": "rm copy2/foo"
},
{
"cmd": [
"touch",
"[START_DIR]/copy20"
],
"name": "touch copy20"
},
{
"cmd": [
"rm",
"-rf",
"[START_DIR]/copy2"
],
"name": "rm copy2"
},
{
"cmd": [
"echo",
"[CACHE]",
"[CLEANUP]",
"[HOME]",
"[START_DIR]",
"[TMP_BASE]"
],
"name": "base paths",
"~followup_annotations": [
"@@@STEP_LOG_LINE@result@base_paths: {'start_dir': ('/', 'b', 'FakeTestingCWD'), 'cleanup': ('/', 'b', 'cleanup'), 'cache': ('/', 'b', 'c'), 'tmp_base': ('/',), 'home': ('/', 'home', 'fake_user')}@@@",
"@@@STEP_LOG_END@result@@@"
]
},
{
"cmd": [
"echo",
"[START_DIR]/some/thing"
],
"name": "converted path [START_DIR]/some/thing"
},
{
"cmd": [
"echo",
"[START_DIR]"
],
"name": "converted path [START_DIR]"
},
{
"cmd": [
"echo",
"RECIPE_MODULE[recipe_engine::path]/resources/module_resource.py"
],
"name": "converted path RECIPE_MODULE[recipe_engine::path]/resources/module_resource.py"
},
{
"cmd": [
"echo",
"RECIPE_MODULE[recipe_engine::path]/resources"
],
"name": "converted path RECIPE_MODULE[recipe_engine::path]/resources"
},
{
"cmd": [
"echo",
"RECIPE[recipe_engine::path:examples/full].resources/recipe_resource.py"
],
"name": "converted path RECIPE[recipe_engine::path:examples/full].resources/recipe_resource.py"
},
{
"cmd": [
"echo",
"RECIPE[recipe_engine::path:examples/full].resources"
],
"name": "converted path RECIPE[recipe_engine::path:examples/full].resources"
},
{
"name": "$result"
}
]