diff options
author | Joey Hess <joey@kitenet.net> | 2011-02-09 11:17:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-02-09 11:17:26 -0400 |
commit | 82bc10d5eafa76ce06b294382e1597d67b06e911 (patch) | |
tree | 2438061bd89bad814406a7cded80a0ce1bade91b /test.hs | |
parent | 4a3a80f4321a023e56d63e5fcdb73f075e17e167 (diff) |
test: Set git user name and email in case git can't guess values.
Diffstat (limited to 'test.hs')
-rw-r--r-- | test.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -508,6 +508,9 @@ setuprepo dir = do cleanup dir ensuretmpdir Utility.boolSystem "git" ["init", "-q", dir] @? "git init failed" + indir dir $ do + Utility.boolSystem "git" ["config", "user.name", "Test User"] @? "git config failed" + Utility.boolSystem "git" ["config", "user.email", "test@example.com"] @? "git config failed" return dir copyrepo :: FilePath -> FilePath -> IO FilePath |