Merge pull request #628 from thockin/disable_local_gitconfig

Disable local git configs
This commit is contained in:
Kubernetes Prow Robot 2022-09-03 03:14:27 -07:00 committed by GitHub
commit a3498fc8ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -2365,6 +2365,10 @@ function run_test() {
eval "$restore_opts"
}
# Override local configs for predictability in this test.
export GIT_CONFIG_GLOBAL=/dev/null
export GIT_CONFIG_SYSTEM=/dev/null
# Iterate over the chosen tests and run them.
FAILS=()
RET=0