[bitbake][kirkstone][2.0][PATCH 1/1] tests/fetch: Avoid using git protocol in tests
Yoann Congal <[email protected]>
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <7fd0197fd5fedd23cc885b5e7e816d86a392fdf9.1775774593.git.yoann.congal@smile.fr> |
From: Richard Purdie <[email protected]> A test was still using git protocol to access git services. For the submodule test, the upstream repo has been updated. Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit 5d722b5d65e4eef7befe6376983385421e993f86) [YC: Backport: only kept the part that applied] Signed-off-by: Yoann Congal <[email protected]> --- lib/bb/tests/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py index e46278dcb..b3890ef41 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -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