aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-02 00:26:19 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-02 00:26:35 +0300
commit2b3ee000c596ff27d24415cb498e1fc3439d2249 (patch)
tree5e8ff254818e65321bc853c95797946248d26c7e /tests
parent0086b0546831bcd70814bd732c1aad9ecfc38d3b (diff)
Fix minimum supported git version raising it to 2.14.0 from 2.12.0
Prior to 2.14.0 the git-fetch command doesn't accept commit id as a refspec which we rely upon.
Diffstat (limited to 'tests')
-rw-r--r--tests/remote-git.testscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/remote-git.testscript b/tests/remote-git.testscript
index 6724473..2ce0fa0 100644
--- a/tests/remote-git.testscript
+++ b/tests/remote-git.testscript
@@ -11,7 +11,8 @@
# contain repositories produced) are not cleaned up.
#
-# Check that git version is the minimum supported one (2.12.0) or above.
+# Check that git version is the minimum supported one (2.14.0) or above (see
+# bpkg/fetch-git.cxx for details).
#
+git --version | set git_version_out
@@ -29,7 +30,7 @@ end
# repository-related tests.
#
git_supported = ($git_version_major > 2 || \
- $git_version_major == 2 && $git_version_minor >= 12)
+ $git_version_major == 2 && $git_version_minor >= 14)
# Output directory path that testscripts must use to prepare repositories
# required by tests they contain.