Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@akretz
Copy link
Contributor

@akretz akretz commented Oct 27, 2025

I have fixed some of the chown tests for FreeBSD and for macOS.

  • The group root was hardcoded in some places, but it's wheel on BSD systems.
  • In test_chown_only_group, the username is taken and used to set the group of a file. I guess this is a bug and the group name was intended to use here.
  • The FreeBSD CI setup uses a user which is in the wheel group. That's why setting the file group to wheel succeeds. I have added a check here to see if the user is in wheel already and if so, to not run chown again. Because the case where we run chown on the current group is covered already in the very same tests.

@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/overlay-headers (passes in this run but fails in the 'main' branch)

@sylvestre
Copy link
Contributor

much better, thanks

@sylvestre sylvestre merged commit 0ca7a3d into uutils:main Oct 27, 2025
164 of 165 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