summaryrefslogtreecommitdiff
path: root/test/script
diff options
context:
space:
mode:
Diffstat (limited to 'test/script')
-rw-r--r--test/script/run.et20
1 files changed, 14 insertions, 6 deletions
diff --git a/test/script/run.et b/test/script/run.et
index f00a4a7..3e13ca1 100644
--- a/test/script/run.et
+++ b/test/script/run.et
@@ -8,12 +8,20 @@ asset scripts:
test RunWithoutRepo:
node n
- spawn on n as p args [ "--storage=.minici", "${scripts.path}/norepo-basic.yaml", "run", "success", "failure" ]
- expect_result from p:
- of "success" result "done"
- of "failure" result "failed"
- expect /(.*)/ from p capture done
- guard (done == "run-finish")
+ local:
+ spawn on n as p args [ "--storage=.minici", "${scripts.path}/norepo-basic.yaml", "run", "success", "failure", "block_recipe" ]
+ expect_result from p:
+ of "success" result "done"
+ of "failure" result "failed"
+ of "block_recipe" result "done"
+ expect /(.*)/ from p capture done
+ guard (done == "run-finish")
+ local:
+ spawn on n as p args [ "--storage=.minici", "${scripts.path}/norepo-basic.yaml", "extract", "block_recipe.out", "." ]
+ local:
+ shell on n as s:
+ cat var
+ expect /abc/ from s
test RunWithRepo: