tests: add more wrapper unittests

Change-Id: Ic6b4eb96b871793bc9463c9047674cf3cfbe4b5e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/259993
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Jonathan Nieder <jrn@google.com>
This commit is contained in:
Mike Frysinger
2020-03-23 16:49:11 -04:00
parent 78964472ad
commit 587f162033
2 changed files with 90 additions and 1 deletions

3
repo
View File

@@ -602,7 +602,8 @@ def _CheckGitVersion():
if ver_act < MIN_GIT_VERSION:
need = '.'.join(map(str, MIN_GIT_VERSION))
print('fatal: git %s or later required' % need, file=sys.stderr)
print('fatal: git %s or later required; found %s' % (need, ver_act.full),
file=sys.stderr)
raise CloneFailure()