diff options
author | Jason R. Coombs <jaraco@google.com> | 2023-10-02 13:58:54 -0400 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-10-17 15:15:55 +0000 |
commit | 024df06ec15d7304fbb5f9a2b1aa44f2af9daf4c (patch) | |
tree | 731c6f2176308623193f05e58c268c783efca2af /git_config.py | |
parent | 45809e51ca6f4dfb84c9400e5dffef6daa2d667d (diff) | |
download | git-repo-024df06ec15d7304fbb5f9a2b1aa44f2af9daf4c.tar.gz |
tests: Set HOME to a temporary directory when running tests.v2.38
When running the tests in my environment, tests that derived from `test_wrapper.GitCheckoutTestCase` would fail on commit or tag due to incomplete or incorrect gpg config. Ideally, the tests should not be dependent on the user's git config. This change ensures $HOME (or Windows equivalent) is replaced for the session.
Bug: 302797407
Change-Id: Ib42b712dd7b6602fee6e18329a8c6d52fb9458b9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/388235
Tested-by: Jason R. Coombs <jaraco@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Jason R. Coombs <jaraco@google.com>
Diffstat (limited to 'git_config.py')
0 files changed, 0 insertions, 0 deletions