From d87acf3a084349c9575f1ecb53f5003733d407c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 5 Jul 2025 20:11:46 +0200 Subject: Test: always use storage within node directory --- .gitignore | 4 ++-- test/script/run.et | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 9e5cbde..a2ef9ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -dist-newstyle/ -.minici/ +/dist-newstyle/ +/.minici/ diff --git a/test/script/run.et b/test/script/run.et index a05ddc4..08cee71 100644 --- a/test/script/run.et +++ b/test/script/run.et @@ -16,7 +16,7 @@ def expect_success from p of job: test RunWithoutRepo: node n - spawn on n as p args [ "${scripts.path}/norepo-basic.yaml", "run", "success", "failure" ] + 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" @@ -113,7 +113,7 @@ test RunExternalRepo: # Explicit jobfile outside of any git repo local: - spawn on n as p args [ "--repo=first:./first", "--repo=second:./second", "${scripts.path}/external.yaml", "run", "single", "multiple", "combine" ] + spawn on n as p args [ "--repo=first:./first", "--repo=second:./second", "--storage=.minici", "${scripts.path}/external.yaml", "run", "single", "multiple", "combine" ] for job in [ "single.$first_root", "multiple.$first_subtree.$second_subtree", "combine.$first_root.$second_subtree" ]: expect_success from p of job @@ -122,7 +122,7 @@ test RunExternalRepo: # Explicit jobfile within a git repo local: - spawn on n as p args [ "--repo=first:./first", "--repo=second:./second", "${scripts.path}/external.yaml", "run", "single" ] + spawn on n as p args [ "--repo=first:./first", "--repo=second:./second", "--storage=.minici", "${scripts.path}/external.yaml", "run", "single" ] expect_success from p of "single.$first_root" expect /(.*)/ from p capture done guard (done == "run-finish") -- cgit v1.2.3