support/testing: add test for export-subst support in git-download
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
ac92ce4961
commit
a6182475b0
@ -0,0 +1 @@
|
||||
sha256 9d359f9ae9a9e65dd4ccfe7170aa6fda24e17dfc81238972957b4b7fe97168a7 export-subst-0fdb95cf4f3c5ed4003287649cabb33c5f843e26-br2.tar.gz
|
@ -0,0 +1,10 @@
|
||||
################################################################################
|
||||
#
|
||||
# export-subst
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EXPORT_SUBST_VERSION = 0fdb95cf4f3c5ed4003287649cabb33c5f843e26
|
||||
EXPORT_SUBST_SITE = git://localhost:$(GITREMOTE_PORT_NUMBER)/repo.git
|
||||
|
||||
$(eval $(generic-package))
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
a238b1dfcd825d47d834af3c5223417c8411d90d
|
||||
0fdb95cf4f3c5ed4003287649cabb33c5f843e26
|
||||
|
@ -56,6 +56,10 @@ class TestGitHash(GitTestBase):
|
||||
self.check_hash("bad")
|
||||
self.check_hash("good")
|
||||
self.check_hash("nohash")
|
||||
self.check_hash("export-subst")
|
||||
with open(os.path.join(self.builddir, "dl", "export-subst", "git", "file2"), "r") as f:
|
||||
blob = f.read()
|
||||
self.assertEqual(blob, "0fdb95cf4f3c5ed4003287649cabb33c5f843e26\n")
|
||||
|
||||
|
||||
class TestGitRefs(GitTestBase):
|
||||
|
Loading…
Reference in New Issue
Block a user