diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2025-12-12 22:56:20 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-12-12 22:56:20 +0100 |
| commit | 437a2450561de19cd8b0f7550a6c3709208ebd6a (patch) | |
| tree | 52d1cfab16e83e217de6d2af733244d999505ac5 /test/script/repo.et | |
| parent | 6beba62d56ab31927ef1ad7671ab52800ba51103 (diff) | |
Diffstat (limited to 'test/script/repo.et')
| -rw-r--r-- | test/script/repo.et | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/script/repo.et b/test/script/repo.et index 7685aa7..1ac05a2 100644 --- a/test/script/repo.et +++ b/test/script/repo.et @@ -291,3 +291,37 @@ test CheckoutSubtree: /\.\/list4/ /(.*)/ capture done guard (done == "DONE") + + local: + spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r2:./dir_r2", "--repo=r3:./dir_r3", "./main", "run", "--rerun-all", "combined_all" ] + expect_success from p of "$mt.checkout_subtree.$r1t.$r2s1" + expect_success from p of "$mt.checkout_common_root.$r1t.$r2t" + expect_success from p of "$mt.checkout_common_subtree.$r3ab" + expect_success from p of "$mt.checkout_common_subtree2.$r1t.$r2s1.$r3abc" + expect_success from p of "$mt.combined_all.$r1t.$r2t.$r3ab" + expect /(.*)/ from p capture done + guard (done == "run-finish") + local: + spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r2:./dir_r2", "--repo=r3:./dir_r3", "./main", "run", "--rerun-all", "$mt.combined_all.$r1t.$r2t.$r3ab" ] + expect_success from p of "$mt.checkout_subtree.$r1t.$r2s1" + expect_success from p of "$mt.checkout_common_root.$r1t.$r2t" + expect_success from p of "$mt.checkout_common_subtree.$r3ab" + expect_success from p of "$mt.checkout_common_subtree2.$r1t.$r2s1.$r3abc" + expect_success from p of "$mt.combined_all.$r1t.$r2t.$r3ab" + expect /(.*)/ from p capture done + guard (done == "run-finish") + local: + spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r2:./dir_r2", "--repo=r3:./dir_r3", "./main", "extract", "$mt.combined_all.$r1t.$r2t.$r3ab.out", "list" ] + local: + shell on n as list: + cat list + rm list + echo DONE + expect from list: + /\.\/minici.yaml/ + /\.\/list1/ + /\.\/list2/ + /\.\/list3/ + /\.\/list4/ + /(.*)/ capture done + guard (done == "DONE") |