chiark / gitweb /
Test suite: Explicitly configure user.name and user.email
[dgit.git] / tests / lib-core
index 056a1bc188c49f568df6046af46f94d2907c7f73..7ed27619ac3466b9a2900519412a53006cb709ad 100644 (file)
@@ -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 () {