aboutsummaryrefslogtreecommitdiff
path: root/tests/common/git/init
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-19 20:28:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-21 18:39:22 +0300
commit6e5e3972542baa1c715e13a36c1144f148c6320b (patch)
treebc4e26e743c77dae3fe774d9a1adc8ca486fba1a /tests/common/git/init
parentf2569bd8b6cff7f17ae71035cc3d4e86b2fc0cc4 (diff)
Consider only latest revisions for git repository location default set
Diffstat (limited to 'tests/common/git/init')
-rwxr-xr-xtests/common/git/init27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/common/git/init b/tests/common/git/init
index 8cac2da..81479a8 100755
--- a/tests/common/git/init
+++ b/tests/common/git/init
@@ -113,11 +113,38 @@ git -C style-basic.git checkout master
# Create master branch for libbar.git.
#
git -C libbar.git init
+
+cat <<EOF >libbar.git/libbar/manifest
+: 1
+name: libbar
+version: 1.0.0
+summary: libbar
+license: MIT
+description-file: README
+url: http://example.org/libbar
+email: pkg@example.org
+depends: style-basic >= $
+EOF
+
git -C libbar.git add '*'
git -C libbar.git commit -am 'Create'
git -C libbar.git tag -a 'v1.0.0' -m 'Tag version 1.0.0'
+
git -C libbar.git submodule add -b stable ../style-basic.git extras
+cat <<EOF >libbar.git/libbar/manifest
+: 1
+name: libbar
+version: 1.0.0+1
+summary: libbar
+license: MIT
+description-file: README
+url: http://example.org/libbar
+email: pkg@example.org
+depends: style-basic >= $
+EOF
+
git -C libbar.git commit -am 'Add extras'
+git -C libbar.git tag -a 'v1.0.0+1' -m 'Tag version 1.0.0+1'
# Create master branch for libfoo.git, adding style.git and libbar.git as
# submodules.