summaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test.hs')
-rw-r--r--test.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.hs b/test.hs
index e4e1fb131..4d751a707 100644
--- a/test.hs
+++ b/test.hs
@@ -646,6 +646,9 @@ prepare = do
p <- getEnvDefault "PATH" ""
setEnv "PATH" (cwd ++ ":" ++ p) True
setEnv "TOPDIR" cwd True
+ -- Avoid git complaining if it cannot determine the user's email
+ -- address.
+ setEnv "EMAIL" "git-annex test <test@example.com>" True
changeToTmpDir :: FilePath -> IO ()
changeToTmpDir t = do