--- /dev/null
+sha256 70b76187369e47db69dac02c5696e63b35199cd20490fa473d289dd377774613 git-partial-sha1-branch-head-68c197d0879d485f4f6c.tar.gz
+sha256 2c1126513651b0d346a4e6d1bb75ac1c9999217e18026302d27bea47b06c7fb2 file
--- /dev/null
+################################################################################
+#
+# git-partial-sha1-branch-head
+#
+################################################################################
+
+GIT_PARTIAL_SHA1_BRANCH_HEAD_VERSION = 68c197d0879d485f4f6c
+GIT_PARTIAL_SHA1_BRANCH_HEAD_SITE = git://localhost:$(GITREMOTE_PORT_NUMBER)/repo.git
+GIT_PARTIAL_SHA1_BRANCH_HEAD_LICENSE_FILES = file
+
+$(eval $(generic-package))
--- /dev/null
+sha256 9db079b9e215799d59975db7b2b26671eff1932ee6cf1075296f2ace3e2cb746 git-partial-sha1-reachable-by-branch-317406308d9259e2231b.tar.gz
+sha256 fabbc65c442bacb5e69b7adfea6d14fbbfc1327134322efd12771dc84387d507 file
--- /dev/null
+################################################################################
+#
+# git-partial-sha1-reachable-by-branch
+#
+################################################################################
+
+GIT_PARTIAL_SHA1_REACHABLE_BY_BRANCH_VERSION = 317406308d9259e2231b
+GIT_PARTIAL_SHA1_REACHABLE_BY_BRANCH_SITE = git://localhost:$(GITREMOTE_PORT_NUMBER)/repo.git
+GIT_PARTIAL_SHA1_REACHABLE_BY_BRANCH_LICENSE_FILES = file
+
+$(eval $(generic-package))
--- /dev/null
+sha256 a21a2507b6d94ad484e49e3a9ae698f672a57469aab8e1779da77df7c9d4d337 git-sha1-branch-head-68c197d0879d485f4f6cee85544722b79e68e59f.tar.gz
+sha256 2c1126513651b0d346a4e6d1bb75ac1c9999217e18026302d27bea47b06c7fb2 file
--- /dev/null
+################################################################################
+#
+# git-sha1-branch-head
+#
+################################################################################
+
+GIT_SHA1_BRANCH_HEAD_VERSION = 68c197d0879d485f4f6cee85544722b79e68e59f
+GIT_SHA1_BRANCH_HEAD_SITE = git://localhost:$(GITREMOTE_PORT_NUMBER)/repo.git
+GIT_SHA1_BRANCH_HEAD_LICENSE_FILES = file
+
+$(eval $(generic-package))
--- /dev/null
+sha256 8909e76d898e651af0bc23fae4103b87888bfe77448d71aaf1fbec3da97a3ce2 git-sha1-reachable-by-branch-317406308d9259e2231bd0d6ddad3de3832bce08.tar.gz
+sha256 fabbc65c442bacb5e69b7adfea6d14fbbfc1327134322efd12771dc84387d507 file
--- /dev/null
+################################################################################
+#
+# git-sha1-reachable-by-branch
+#
+################################################################################
+
+GIT_SHA1_REACHABLE_BY_BRANCH_VERSION = 317406308d9259e2231bd0d6ddad3de3832bce08
+GIT_SHA1_REACHABLE_BY_BRANCH_SITE = git://localhost:$(GITREMOTE_PORT_NUMBER)/repo.git
+GIT_SHA1_REACHABLE_BY_BRANCH_LICENSE_FILES = file
+
+$(eval $(generic-package))
--- /dev/null
+x\ 1Î;N\ 31\14@Qj¯Â\e\98Èß\8c\8dP\94\rÐ\90\15<¿Ob\ 5\8f\91ã\14ì\9eH)è\11í)®.öÖêÔÞí_æ`ÖìPØì\93¬\1c\8b\ 4bïDغ` ¢\87\82\9c\ 5Rfõ\ 5\83·©ÁùT, Rr\91ÂJÉ\a\10\8fÑ9\1fì\8a)XKÙ\90\82û¼ô¡?* ®ßa̺a¿]«~\eOܵ_<\9e\eÔÏ\1dövÐ6\9a5ÇäcÖ\8bñƨ\87>¦'ÿSN\95\ 1\e^¬R§zÞ\98\96.²\94ï׿̪\1f\191nS
\ No newline at end of file
--- /dev/null
+x\ 1Î=N\ 31\10\86aj\9fÂ\17ØÈ;³ë\1f\84\10\17 !'\18ÏL\12+x\8d\8c)¸=+¥H\1fÑ>Ò÷éåVk\19\16Á?\8d®j3,\19cð°¨p\88â \ 1Í\10xA&I\99R`\ f\bæ\8bºnûp\ e\8bóè¢$X\93\ 2à\9cÅ\89\17!AQ\8c\b\99ÕEC?ãÒºý(L]\9a}§>ÊÆíûZìK¿á¡Þñí\©|\1e¸ÕW;¯.¤5¢G;9tÎìºG\ fý§;\93;m|\ 1c\8e弩Lít\9aòïó#±æ\ f$bl·
\ No newline at end of file
--- /dev/null
+68c197d0879d485f4f6cee85544722b79e68e59f
import os
+import shutil
from gitremote import GitRemote
def check_download(self, package):
# store downloaded tarball inside the output dir so the test infra
# cleans it up at the end
- env = {"BR2_DL_DIR": os.path.join(self.builddir, "dl"),
+ dl_dir = os.path.join(self.builddir, "dl")
+ # enforce we test the download
+ if os.path.exists(dl_dir):
+ shutil.rmtree(dl_dir)
+ env = {"BR2_DL_DIR": dl_dir,
"GITREMOTE_PORT_NUMBER": str(self.gitremote.port)}
self.b.build(["{}-dirclean".format(package),
"{}-legal-info".format(package)],
self.check_download("git-wrong-content")
with self.assertRaises(SystemError):
self.check_download("git-wrong-sha1")
+ self.check_download("git-partial-sha1-branch-head")
+ self.check_download("git-partial-sha1-reachable-by-branch")
+ self.check_download("git-sha1-branch-head")
+ self.check_download("git-sha1-reachable-by-branch")