Skip to content
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

Some tests fail with non-default system/global git configuration #934

Closed
timlag1305 opened this issue Feb 4, 2022 · 0 comments · Fixed by #936
Closed

Some tests fail with non-default system/global git configuration #934

timlag1305 opened this issue Feb 4, 2022 · 0 comments · Fixed by #936
Labels
area: testsuite type: bug Something isn't working

Comments

@timlag1305
Copy link
Contributor

Hi, I was trying to run the alire tests after building by following.

I changed my global git configuration to use the main branch as the default branch instead of master. Note, that master is still the default branch on a standard git installation. To make these tests more reproducible, GIT_CONFIG_GLOBAL and GIT_CONFIG_SYSTEM can be set to /dev/null to ignore any of those settings such as changing the default branch. See git/git@4179b48 for more information.

I was able to fix two failed tests (publish__local-repo-nonstd, publish__local-repo) by running GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_SYSTEM=/dev/null ./run.py, but it would be nice if that was handled by the run.py script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: testsuite type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants