From 5348846b9e2774048d8996a4a3f45237f6e24029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 27 Sep 2025 11:51:53 +0200 Subject: Test: wait for shell-based setup to finish --- test/script/run.et | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/test/script/run.et b/test/script/run.et index 392c44e..9c3cb74 100644 --- a/test/script/run.et +++ b/test/script/run.et @@ -63,14 +63,15 @@ test SimpleRun: test RunConfig: node n - shell on n: - cp ${scripts.path}/erebos-tester.yaml . - mkdir tools - cp ${scripts.path}/tools/echo.sh ./tools/tool - mkdir scripts - # TODO: it seems that namespaces are not properly cleaned up after the failed test - #cp ${scripts.path}/trivial.et ./scripts/ - cp ${scripts.path}/echo.et ./scripts/ + local: + shell on n: + cp ${scripts.path}/erebos-tester.yaml . + mkdir tools + cp ${scripts.path}/tools/echo.sh ./tools/tool + mkdir scripts + # TODO: it seems that namespaces are not properly cleaned up after the failed test + #cp ${scripts.path}/trivial.et ./scripts/ + cp ${scripts.path}/echo.et ./scripts/ spawn as p on n @@ -89,12 +90,13 @@ test RunConfig: test GetSysInfo: node n - shell on n: - cp ${scripts.path}/erebos-tester.yaml . - mkdir tools - cp ${scripts.path}/tools/sysinfo.sh ./tools/tool - mkdir scripts - cp ${scripts.path}/sysinfo.et ./scripts/ + local: + shell on n: + cp ${scripts.path}/erebos-tester.yaml . + mkdir tools + cp ${scripts.path}/tools/sysinfo.sh ./tools/tool + mkdir scripts + cp ${scripts.path}/sysinfo.et ./scripts/ spawn as p on n -- cgit v1.2.3