aboutsummaryrefslogtreecommitdiff
path: root/tests/git.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-09 21:44:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-09 21:44:27 +0300
commit4a9790b9d8262f44bd42bfe9af0860873725b32b (patch)
treef39be0aa5ae5514964dc71bd1e98a818f65094f9 /tests/git.test
parent30f6a563fc8c5b2d5c70cd55838aca4e5692b3e4 (diff)
Fix other command testscripts to pass for older git versions
Diffstat (limited to 'tests/git.test')
-rw-r--r--tests/git.test23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/git.test b/tests/git.test
deleted file mode 100644
index 41d97e9..0000000
--- a/tests/git.test
+++ /dev/null
@@ -1,23 +0,0 @@
-# file : tests/git.test
-# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
-# license : MIT; see accompanying LICENSE file
-
-# Check that git version is the minimum supported one (2.12.0) or above.
-#
-+git --version | set git_version_out
-
-+echo "$git_version_out" | sed -n -e 's/git version (\d+\.\d+\.\d+).*/\1/p' | \
- set git_version
-
-+if ("$git_version" == "")
- exit "unable to obtain git version from '$git_version_out'"
-end
-
-+echo "$git_version" | sed -e 's/(\d+).*/\1/' | set git_version_major
-+echo "$git_version" | sed -e 's/\d+\.(\d+).*/\1/' | set git_version_minor
-
-# This flag must be used by testscripts to decide if they should skip git
-# repository-related tests.
-#
-git_supported = ($git_version_major > 2 || \
- $git_version_major == 2 && $git_version_minor >= 12)