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:32 -0300
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-02-06 11:13:20 +0100
commit81771cfcdc40e5909a4ec663e7c88b3a32068c05 (patch)
treea210586d6b795fc24708feb9e967ecc0a90d9cd5 /support/testing/tests/download/test_git.py
parent636fb8eba28b16b81baddad0a34906ad956f6ff1 (diff)
downloadbuildroot-81771cfcdc40e5909a4ec663e7c88b3a32068c05.tar.gz
buildroot-81771cfcdc40e5909a4ec663e7c88b3a32068c05.zip
testing/tests/download: test git special ref
Add a special ref to the static repo and check on the git refs test case the download of a git package: - with the sha1 of a special ref as version; Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br> Cc: Arnout Vandecappelle <arnout@mind.be> [Arnout: change to use the sha1 of a special ref instead of the name] 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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/testing/tests/download/test_git.py b/support/testing/tests/download/test_git.py
index 2455557298..40cf1afe05 100644
--- a/support/testing/tests/download/test_git.py
+++ b/support/testing/tests/download/test_git.py
@@ -76,6 +76,7 @@ class TestGitRefs(GitTestBase):
self.check_download("git-sha1-reachable-by-tag")
self.check_download("git-sha1-tag-itself")
self.check_download("git-sha1-tag-points-to")
+ self.check_download("git-special-ref")
self.check_download("git-submodule-disabled")
self.check_download("git-submodule-enabled")
self.check_download("git-tag")
OpenPOWER on IntegriCloud