diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-03-06 18:37:11 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-03-08 14:18:43 +0100 |
commit | ef952e26a565db3465b3f5674f496cd1e5e2ae0e (patch) | |
tree | 9f9d612f8462b606b2c2d8ef430c70b429dda733 /test | |
parent | be96de5702039e034b51e1e2434a6838d6760e1b (diff) | |
download | justbuild-ef952e26a565db3465b3f5674f496cd1e5e2ae0e.tar.gz |
just-mr: Fix "preferred hostnames"
... instead of replacing the host name of each mirror, it
should only reorder the list of given mirrors.
Diffstat (limited to 'test')
-rw-r--r-- | test/end-to-end/just-mr/just-mr-mirrors.test.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/end-to-end/just-mr/just-mr-mirrors.test.sh b/test/end-to-end/just-mr/just-mr-mirrors.test.sh index beb8f73c..2e8e7d2e 100644 --- a/test/end-to-end/just-mr/just-mr-mirrors.test.sh +++ b/test/end-to-end/just-mr/just-mr-mirrors.test.sh @@ -234,6 +234,10 @@ cat > just-local.json <<EOF [ "http://non-existent.example.org/zip_repo.zip" , "http://127.0.0.1:${port_num}/zip_repo.zip" ] + , "http://non-existent.example.org:${port_num}/tgz_repo.tar.gz": + [ "http://non-existent.example.org/tgz_repo.tar.gz" + , "http://127.0.0.1:${port_num}/tgz_repo.tar.gz" + ] } , "preferred hostnames": ["non-existent.example.org", "127.0.0.1"] |