diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-27 20:22:10 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-30 19:50:48 +0000 |
commit | 2c3427f71978357151e84611d967c1650aa814dc (patch) | |
tree | bfeb4a12c7236a2675772b46b4c006cb010d43b5 /tests/lib-core | |
parent | cc0686845b8db87998cfe937014e0f3d2c24b03e (diff) |
Test suite: Explicitly configure user.name and user.email
So that tests work when environment doesn't have
defaults.
Closes:#842279 (I hope).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib-core')
-rw-r--r-- | tests/lib-core | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib-core b/tests/lib-core index 056a1bc..7ed2761 100644 --- a/tests/lib-core +++ b/tests/lib-core @@ -20,6 +20,8 @@ t-set-using-tmp () { export DGIT_TEST_DUMMY_DIR=$tmp export DGIT_TEST_TMP=$tmp export GNUPGHOME=$tmp/nonexistent + git config --global user.email 'dgit-test@debian.example.net' + git config --global user.name 'dgit test git user' } t-filter-out-git-hyphen-dir () { |