diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2025-02-07 13:46:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-11 21:18:39 +0000 |
commit | 34bb313e903f542f0ccd7434ce0de25595fc40c4 (patch) | |
tree | 544977629dacf208cc4b0fd589b19037164d332d /bitbake/lib | |
parent | e69304675db437bb9d94e4008955d3d5d5e4fd65 (diff) | |
download | poky-34bb313e903f542f0ccd7434ce0de25595fc40c4.tar.gz |
bitbake: tests: fetch: use lower case hostnames
Do not use upper case hostnames because the hostname is case insensitive
and maybe decoded into lower case to follow the common style.
(Bitbake rev: 554b7048412c4c67bf895a8b98822b54ac3a66db)
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 3be7db3589..0f1cb7670d 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -570,16 +570,16 @@ class MirrorUriTest(FetcherTest): | |||
570 | 'http://otherdownloads.yoctoproject.org/downloads/bitbake-1.0.tar.gz', | 570 | 'http://otherdownloads.yoctoproject.org/downloads/bitbake-1.0.tar.gz', |
571 | 'http://downloads2.yoctoproject.org/downloads/bitbake-1.0.tar.gz']) | 571 | 'http://downloads2.yoctoproject.org/downloads/bitbake-1.0.tar.gz']) |
572 | 572 | ||
573 | recmirrorvar = "https://.*/[^/]* http://AAAA/A/A/A/ " \ | 573 | recmirrorvar = "https://.*/[^/]* http://aaaa/A/A/A/ " \ |
574 | "https://.*/[^/]* https://BBBB/B/B/B/" | 574 | "https://.*/[^/]* https://bbbb/B/B/B/" |
575 | 575 | ||
576 | def test_recursive(self): | 576 | def test_recursive(self): |
577 | fetcher = bb.fetch.FetchData("https://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d) | 577 | fetcher = bb.fetch.FetchData("https://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d) |
578 | mirrors = bb.fetch2.mirror_from_string(self.recmirrorvar) | 578 | mirrors = bb.fetch2.mirror_from_string(self.recmirrorvar) |
579 | uris, uds = bb.fetch2.build_mirroruris(fetcher, mirrors, self.d) | 579 | uris, uds = bb.fetch2.build_mirroruris(fetcher, mirrors, self.d) |
580 | self.assertEqual(uris, ['http://AAAA/A/A/A/bitbake/bitbake-1.0.tar.gz', | 580 | self.assertEqual(uris, ['http://aaaa/A/A/A/bitbake/bitbake-1.0.tar.gz', |
581 | 'https://BBBB/B/B/B/bitbake/bitbake-1.0.tar.gz', | 581 | 'https://bbbb/B/B/B/bitbake/bitbake-1.0.tar.gz', |
582 | 'http://AAAA/A/A/A/B/B/bitbake/bitbake-1.0.tar.gz']) | 582 | 'http://aaaa/A/A/A/B/B/bitbake/bitbake-1.0.tar.gz']) |
583 | 583 | ||
584 | 584 | ||
585 | class GitDownloadDirectoryNamingTest(FetcherTest): | 585 | class GitDownloadDirectoryNamingTest(FetcherTest): |