bitbake: tests/fetch: Avoid using git protocol in tests

A test was still using git protocol to access git services.
For the submodule test, the upstream repo has been updated.

(Bitbake rev: 7fd0197fd5fedd23cc885b5e7e816d86a392fdf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5d722b5d65e4eef7befe6376983385421e993f86)
[YC: Backport: only kept the part that applied]
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
Richard Purdie
2026-04-08 07:28:41 +01:00
committed by Paul Barker
parent 6eb32e9f28
commit 7382ad3b56

View File

@@ -1053,7 +1053,7 @@ class FetcherNetworkTest(FetcherTest):
# URL with ssh submodules
url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=ssh-gitsm-tests;rev=049da4a6cb198d7c0302e9e8b243a1443cb809a7;branch=master"
# Original URL (comment this if you have ssh access to git.yoctoproject.org)
url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;rev=a2885dd7d25380d23627e7544b7bbb55014b16ee;branch=master"
url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;rev=38e61644af90dccd73c03ed3acaed98c8dda9294;branch=master;protocol=https"
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
# Previous cwd has been deleted