blob: 431bfe65f62cf3ee0cce2905b0b669955114bbf2 [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]/directory"
],
"name": "rm directory (initial)"
},
{
"cmd": [
"mkdir",
"-p",
"[START_DIR]/directory"
],
"name": "mkdir directory"
},
{
"cmd": [
"touch",
"[START_DIR]/directory/filepath"
],
"name": "touch filepath"
},
{
"cmd": [
"rm",
"-rf",
"[START_DIR]/directory"
],
"name": "rm directory"
},
{
"cmd": [
"mkdir",
"-p",
"[START_DIR]/directory"
],
"name": "mkdir directory (2)"
},
{
"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: {\"cache\": [\"/\", \"b\", \"c\"], \"cleanup\": [\"/\", \"b\", \"cleanup\"], \"home\": [\"/\", \"home\", \"fake_user\"], \"start_dir\": [\"/\", \"b\", \"FakeTestingCWD\"], \"tmp_base\": [\"/\"]}@@@",
"@@@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"
}
]