summaryrefslogtreecommitdiff
path: root/test/script/repo.et
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-12-12 22:56:20 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-12-12 22:56:20 +0100
commit437a2450561de19cd8b0f7550a6c3709208ebd6a (patch)
tree52d1cfab16e83e217de6d2af733244d999505ac5 /test/script/repo.et
parent6beba62d56ab31927ef1ad7671ab52800ba51103 (diff)
Test: combined_all case in subtree checkout testHEADmaster
Diffstat (limited to 'test/script/repo.et')
-rw-r--r--test/script/repo.et34
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")