aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-23 18:08:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-23 18:09:52 +0000
commit1428128c787642dca690a7d51f2be793e001ae37 (patch)
tree030ce8ef6e2536a2e352741791893bf7163db16d
parentc039182c79e2ccc54fff5d7f4f266340014ca6e0 (diff)
downloadbitbake-1428128c787642dca690a7d51f2be793e001ae37.tar.gz
tests/fetch: Handle upstream master -> main branch change
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/tests/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py
index 34f3a4f6a..b59743872 100644
--- a/lib/bb/tests/fetch.py
+++ b/lib/bb/tests/fetch.py
@@ -1079,7 +1079,7 @@ class FetcherNetworkTest(FetcherTest):
""" Prevent regression on deeply nested submodules not being checked out properly, even though they were fetched. """
# This repository also has submodules where the module (name), path and url do not align
- url = "gitsm://github.com/azure/iotedge.git;protocol=https;rev=d76e0316c6f324345d77c48a83ce836d09392699"
+ url = "gitsm://github.com/azure/iotedge.git;protocol=https;rev=d76e0316c6f324345d77c48a83ce836d09392699;branch=main"
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
# Previous cwd has been deleted