summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r--bitbake/lib/bb/tests/fetch.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 65339d1bb1..4b5439f525 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -3139,6 +3139,13 @@ class GitTagVerificationTests(FetcherTest):
3139 fetcher.download() 3139 fetcher.download()
3140 fetcher.unpack(self.unpackdir) 3140 fetcher.unpack(self.unpackdir)
3141 3141
3142 def test_annotated_tag_rev_match(self):
3143 # Test a url with rev= and tag= set works
3144 # rev is the annotated tag revision in this case
3145 fetcher = bb.fetch.Fetch(["git://git.openembedded.org/bitbake;branch=2.8;protocol=https;rev=6d363159e4b7dc566fc40d069b2615e61774a7d8;tag=2.8.7"], self.d)
3146 fetcher.download()
3147 fetcher.unpack(self.unpackdir)
3148
3142 @skipIfNoNetwork() 3149 @skipIfNoNetwork()
3143 def test_tag_rev_match2(self): 3150 def test_tag_rev_match2(self):
3144 # Test a url with SRCREV and tag= set works 3151 # Test a url with SRCREV and tag= set works