From: Scott Worley Date: Thu, 11 Jun 2020 20:30:20 +0000 (-0700) Subject: Set git user in test harness X-Git-Tag: 1.4~5 X-Git-Url: http://git.scottworley.com/pinch/commitdiff_plain/1b48018c3d40a9f70ac98aa3d3112fc5d8cb2201?ds=sidebyside Set git user in test harness This allows git to run in a minimal test environment without git aborting with "*** Please tell me who you are." --- diff --git a/tests/lib/test-setup.sh b/tests/lib/test-setup.sh index 97fec64..35a4e73 100644 --- a/tests/lib/test-setup.sh +++ b/tests/lib/test-setup.sh @@ -1,5 +1,10 @@ set -e +export GIT_AUTHOR_NAME=automation +export GIT_COMMITTER_NAME=automation +export GIT_AUTHOR_EMAIL=auto@mati.on +export GIT_COMMITTER_EMAIL=auto@mati.on + cache_dir=$(mktemp -d) export XDG_CACHE_HOME=$cache_dir