From 437a2450561de19cd8b0f7550a6c3709208ebd6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Fri, 12 Dec 2025 22:56:20 +0100 Subject: Test: combined_all case in subtree checkout test --- test/script/repo.et | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'test/script/repo.et') 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") -- cgit v1.2.3