Skip to content

Commit

Permalink
tests: fix git email env variables
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
michaelolbrich committed Feb 19, 2024
1 parent ee2ec1b commit bdf1354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run-test
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]"
export GIT_AUTHOR_EMAIL="[email protected]"
export GIT_AUTHOR_NAME="UMPF Test Committer"
export GIT_COMMITTER_MAIL="[email protected]"
export GIT_COMMITTER_EMAIL="[email protected]"
export GIT_COMMITTER_NAME="UMPF Test Committer"
export TZ="UTC"
PATH="${SOURCE_ROOT}:${PATH}"
Expand Down

0 comments on commit bdf1354

Please sign in to comment.