From 1b48018c3d40a9f70ac98aa3d3112fc5d8cb2201 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 11 Jun 2020 13:30:20 -0700 Subject: [PATCH 1/1] 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." --- tests/lib/test-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.44.1