-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Test cases should not modify the host system #2345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's a bug that this test is modifying global configuration, the reset of |
It uses According to the manual
|
Whelp |
* Remove the XDG_CONFIG_HOME environment variable as we're resetting HOME * Add GIT_CONFIG_NOSYSTEM to encourage git to not read that configuration Closes rust-lang#2345
* Remove the XDG_CONFIG_HOME environment variable as we're resetting HOME * Add GIT_CONFIG_NOSYSTEM to encourage git to not read that configuration Closes #2345
Thanks! |
Currently, some of the test cases modify the git config (e.g.
finds_author_git
intests/test_cargo_new.rs
). This is not nice 😢.The text was updated successfully, but these errors were encountered: