summaryrefslogtreecommitdiffstats
path: root/support/testing/tests/download/test_git.py
diff options
context:
space:
mode:
authorRicardo Martincoski <ricardo.martincoski@datacom.ind.br>2018-05-11 23:58:30 -0300
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-02-06 09:56:58 +0100
commit9cc7a12bdeecfdf3d0d0c3b8ebc1e41069e3ff25 (patch)
tree7f9fb006b8769139bf09d6c623c59b4c25bb56a0 /support/testing/tests/download/test_git.py
parenta9219660d30ff30331e15e078a1643001a072ab6 (diff)
downloadbuildroot-9cc7a12bdeecfdf3d0d0c3b8ebc1e41069e3ff25.tar.gz
buildroot-9cc7a12bdeecfdf3d0d0c3b8ebc1e41069e3ff25.zip
testing/tests/download: test git submodules
Add two submodules as static repos, add a branch to the main static repo and check on the git refs test case the download of a git package: - repo with submodule but without support in the package; - repo with recursive submodules with support in the package. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br> Cc: Arnout Vandecappelle <arnout@mind.be> [Arnout: remove handling of inconsistent tarball hashes - that's an actual bug that should be fixed] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support/testing/tests/download/test_git.py')
-rw-r--r--support/testing/tests/download/test_git.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/testing/tests/download/test_git.py b/support/testing/tests/download/test_git.py
index 83fb6fe3cd..121c9191d8 100644
--- a/support/testing/tests/download/test_git.py
+++ b/support/testing/tests/download/test_git.py
@@ -70,3 +70,5 @@ class TestGitRefs(GitTestBase):
self.check_download("git-partial-sha1-reachable-by-branch")
self.check_download("git-sha1-branch-head")
self.check_download("git-sha1-reachable-by-branch")
+ self.check_download("git-submodule-disabled")
+ self.check_download("git-submodule-enabled")
OpenPOWER on IntegriCloud