From bdf1354047afb40b5baca61cf800a0ecade7b7d7 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 19 Feb 2024 11:09:58 +0100 Subject: [PATCH] tests: fix git email env variables The correct env variables are GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAIL. It worked, because the same email address from the config was used as fallback in most cases. But tests fail if either variable is set to another email adress. Signed-off-by: Michael Olbrich --- tests/run-test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run-test b/tests/run-test index d849352..50d6c63 100755 --- a/tests/run-test +++ b/tests/run-test @@ -51,9 +51,9 @@ SOURCE_DATE_EPOCH="$(git log -1 --pretty=%ct umpf-tag)" export SOURCE_DATE_EPOCH export GIT_AUTHOR_DATE="${SOURCE_DATE_EPOCH}" export GIT_COMMITTER_DATE="${SOURCE_DATE_EPOCH}" -export GIT_AUTHOR_MAIL="umpf@example.com" +export GIT_AUTHOR_EMAIL="umpf@example.com" export GIT_AUTHOR_NAME="UMPF Test Committer" -export GIT_COMMITTER_MAIL="umpf@example.com" +export GIT_COMMITTER_EMAIL="umpf@example.com" export GIT_COMMITTER_NAME="UMPF Test Committer" export TZ="UTC" PATH="${SOURCE_ROOT}:${PATH}"