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

More resilient secondary group selection for chgrp tests #379

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

marcus0x62
Copy link
Contributor

@marcus0x62 marcus0x62 commented Nov 25, 2024

On Linux systems, the chgrp tests expect the test runner to be a member of the adm group. This commit changes that to attempt to dynamically identify a suitable secondary group to use in the tests, or error out if one cannot be identified.

On my system, this was the cause of all of the test failures outline in #377.

On Linux systems, the chgrp tests previously expected the test runner to be a member of the adm
group. This commit changes that to attempt to dynamically identify a suitable secondary group, or
error out if one cannot be identified.
@jgarzik jgarzik merged commit 8a7cbe4 into rustcoreutils:main Dec 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants