diff options
author | Zebreus <zebreus@zebre.us> | 2024-10-11 23:52:59 +0200 |
---|---|---|
committer | Zebreus <zebreus@zebre.us> | 2024-10-14 05:56:02 +0000 |
commit | d726236e27fbec0e9cc7a428ccc60d97d2af0fa9 (patch) | |
tree | 1ee37d1ce6d639670964e3094b99c48d2645a5a7 /nix-support | |
parent | 326cbecb61d42ce73caa391cdcb21acb2581bf7c (diff) |
testsuite: Fix tests on systems with a non-master defaultBranch
When the git default branch is not set to master the installcheck
test suite fails. This patch adjusts the test setup scripts to
ignore the system and user git config files.
GIT_CONFIG_SYSTEM is set to /dev/null to ignore /etc/gitconfig
GIT_CONFIG_GLOBAL is not set because the global config files
are loaded from $HOME or $XDG_CONFIG_HOME which we already
reset.
git documentation: https://git-scm.com/docs/git#Documentation/git.txt-codeGITCONFIGGLOBALcode
Change-Id: Ie73bbed1db9419c9885b9d57e4edb7a4047d5cce
Diffstat (limited to 'nix-support')
0 files changed, 0 insertions, 0 deletions