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.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 64cc9fa76b..1452d76151 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -698,13 +698,7 @@ class FetcherLocalTest(FetcherTest):
698 # Fetch and check revision 698 # Fetch and check revision
699 self.d.setVar("SRCREV", "AUTOINC") 699 self.d.setVar("SRCREV", "AUTOINC")
700 url = "git://" + src_dir + ";protocol=file;usehead=1;name=newName" 700 url = "git://" + src_dir + ";protocol=file;usehead=1;name=newName"
701 try: 701 fetcher = bb.fetch.Fetch([url], self.d)
702 fetcher = bb.fetch.Fetch([url], self.d)
703 except Exception:
704 # TODO: We currently expect this test to fail. Drop the try and
705 # assert when usehead has been fixed.
706 return
707 self.assertEqual(1, 0)
708 fetcher.download() 702 fetcher.download()
709 fetcher.unpack(self.unpackdir) 703 fetcher.unpack(self.unpackdir)
710 stdout = bb.process.run("git rev-parse HEAD", 704 stdout = bb.process.run("git rev-parse HEAD",