summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-03-06 18:37:11 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2024-03-08 14:18:43 +0100
commitef952e26a565db3465b3f5674f496cd1e5e2ae0e (patch)
tree9f9d612f8462b606b2c2d8ef430c70b429dda733 /test
parentbe96de5702039e034b51e1e2434a6838d6760e1b (diff)
downloadjustbuild-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.sh4
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"]