summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/tests/fetch.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 1323ac2cd3..971c613ddd 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -871,6 +871,10 @@ class FetcherNetworkTest(FetcherTest):
871 871
872 @skipIfNoNetwork() 872 @skipIfNoNetwork()
873 def test_gitfetch_usehead(self): 873 def test_gitfetch_usehead(self):
874 # Since self.gitfetcher() sets SRCREV we expect this to override
875 # `usehead=1' and instead fetch the specified SRCREV. See
876 # test_local_gitfetch_usehead() for a positive use of the usehead
877 # feature.
874 url = "git://git.openembedded.org/bitbake;usehead=1" 878 url = "git://git.openembedded.org/bitbake;usehead=1"
875 self.assertRaises(bb.fetch.ParameterError, self.gitfetcher, url, url) 879 self.assertRaises(bb.fetch.ParameterError, self.gitfetcher, url, url)
876 880