mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
bitbake: tests: Add test for possible gitsm deadlock
(Bitbake rev: b0506480baa9bcf3ef645b0aed5a07ad9950245c) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
492ec14a37
commit
af64b9b31b
|
@ -1191,6 +1191,15 @@ class FetcherNetworkTest(FetcherTest):
|
|||
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/deps/c-utility/testtools/umock-c/deps/ctest/README.md')), msg='Missing submodule checkout')
|
||||
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/deps/c-utility/testtools/umock-c/deps/testrunner/readme.md')), msg='Missing submodule checkout')
|
||||
|
||||
@skipIfNoNetwork()
|
||||
def test_git_submodule_reference_to_parent(self):
|
||||
self.recipe_url = "gitsm://github.com/gflags/gflags.git;protocol=https;branch=master"
|
||||
self.d.setVar("SRCREV", "14e1138441bbbb584160cb1c0a0426ec1bac35f1")
|
||||
with Timeout(60):
|
||||
fetcher = bb.fetch.Fetch([self.recipe_url], self.d)
|
||||
with self.assertRaises(bb.fetch2.FetchError):
|
||||
fetcher.download()
|
||||
|
||||
class SVNTest(FetcherTest):
|
||||
def skipIfNoSvn():
|
||||
import shutil
|
||||
|
|
Loading…
Reference in New Issue
Block a user