diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-08 12:47:00 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-08 18:10:19 +0100 |
commit | 211f89f0a305ead6eb36ce7811cb2c294167535c (patch) | |
tree | 668a6e971e5d65898526ad1e6b0fa1fd6ecc98ed | |
parent | 76ce2123c79c2e1405b71c694cf35b7019835ac7 (diff) | |
download | justbuild-211f89f0a305ead6eb36ce7811cb2c294167535c.tar.gz |
Test deduplication of target repos in precomputed roots
-rw-r--r-- | test/end-to-end/git-import/computed.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/end-to-end/git-import/computed.sh b/test/end-to-end/git-import/computed.sh index b60ea00b..f51549b4 100644 --- a/test/end-to-end/git-import/computed.sh +++ b/test/end-to-end/git-import/computed.sh @@ -179,7 +179,13 @@ EOF "${GIT_IMPORT}" -C repos.template.json --as foo -b foomaster "${REPO_DIRS}/foo" \ | "${GIT_IMPORT}" -C - --as bar -b barmaster "${REPO_DIRS}/bar" \ | "${GIT_IMPORT}" -C - -b barmaster "${REPO_DIRS}/bar" bar_root \ - > repos-full.json + > repos-full.template.json + +# Test deduplication takes into account target repos of precomputed roots +# as well. 'repo' isn't used directly, but it can shadow 'bar_root/root' +# during deduplication: +"${GIT_IMPORT}" -C repos-full.template.json -b barmaster "${REPO_DIRS}/bar" \ + root > repos-full.json echo cat repos-full.json |