Skip to content

chgrp: make test_reference less strict on Linux - #13650

Merged
sylvestre merged 1 commit into
uutils:mainfrom
cakebaker:chgrp_fix_test
Jul 30, 2026
Merged

chgrp: make test_reference less strict on Linux#13650
sylvestre merged 1 commit into
uutils:mainfrom
cakebaker:chgrp_fix_test

Conversation

@cakebaker

Copy link
Copy Markdown
Contributor

The test_reference test recently started to fail in the CI on Linux with:

thread 'test_chgrp::test_reference' (14446) panicked at tests/by-util/test_chgrp.rs:210:14:
    assertion failed: `(left == right)`

    Diff < left / right > :
     chgrp: changing group of '/etc': Operation not permitted
    <failed to change group of '/etc' from runner to root
    >failed to change group of '/etc' from root to root

This PR makes the test less strict by no longer testing for specific groups.

because it started to fail in the CI due to the use of a different group
@sylvestre
sylvestre merged commit 5f15efb into uutils:main Jul 30, 2026
160 of 162 checks passed
@cakebaker
cakebaker deleted the chgrp_fix_test branch July 30, 2026 11:42
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