summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-05 22:04:01 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-05 22:04:01 -0400
commitc9078755fcb8bf1b661a7caac822dee03f1a0dbc (patch)
tree5ca28ec6f928362b763e1cda6ceb719b26b69150
parentdbe3c6efd5ceb882bb2437269272e174e04ce8b8 (diff)
test: don't let `git commit` fail if user.{email,name} aren't configuredv20170505
-rw-r--r--test/gitget-test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/gitget-test.sh b/test/gitget-test.sh
index d14ce16..a5e9f2c 100644
--- a/test/gitget-test.sh
+++ b/test/gitget-test.sh
@@ -22,6 +22,8 @@ it_forces_url_for_bare() {
mkdir "$tmpdir/src"
cd "$tmpdir/src"
git init .
+ git config --local user.email 'libretools-test@localhost'
+ git config --local user.name 'Test Suite'
echo a > a
git add .
git commit -m 'initial commit'