1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

bitbake: test/fetch: Update urls to match upstream branch name changes

(Bitbake rev: 93094705c1c66688e0730a1efb17805778c9fa9f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 473e2a5486bd972ad0f808db089abcb8945d3a48)
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2021-10-19 10:06:15 -10:00
parent b47125666f
commit d2f1a20a19
+3 -3
View File
@@ -937,7 +937,7 @@ class FetcherNetworkTest(FetcherTest):
@skipIfNoNetwork() @skipIfNoNetwork()
def test_git_submodule_CLI11(self): def test_git_submodule_CLI11(self):
url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=bd4dc911847d0cde7a6b41dfa626a85aab213baf" url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=bd4dc911847d0cde7a6b41dfa626a85aab213baf;branch=main"
fetcher = bb.fetch.Fetch([url], self.d) fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download() fetcher.download()
# Previous cwd has been deleted # Previous cwd has been deleted
@@ -952,12 +952,12 @@ class FetcherNetworkTest(FetcherTest):
@skipIfNoNetwork() @skipIfNoNetwork()
def test_git_submodule_update_CLI11(self): def test_git_submodule_update_CLI11(self):
""" Prevent regression on update detection not finding missing submodule, or modules without needed commits """ """ Prevent regression on update detection not finding missing submodule, or modules without needed commits """
url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=cf6a99fa69aaefe477cc52e3ef4a7d2d7fa40714" url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=cf6a99fa69aaefe477cc52e3ef4a7d2d7fa40714;branch=main"
fetcher = bb.fetch.Fetch([url], self.d) fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download() fetcher.download()
# CLI11 that pulls in a newer nlohmann-json # CLI11 that pulls in a newer nlohmann-json
url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=49ac989a9527ee9bb496de9ded7b4872c2e0e5ca" url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=49ac989a9527ee9bb496de9ded7b4872c2e0e5ca;branch=main"
fetcher = bb.fetch.Fetch([url], self.d) fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download() fetcher.download()
# Previous cwd has been deleted # Previous cwd has been deleted