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

util: added umask manipulation #6404

Merged
merged 7 commits into from
May 19, 2024
Merged

util: added umask manipulation #6404

merged 7 commits into from
May 19, 2024

Conversation

matrixhead
Copy link
Contributor

This pr tries to add umask manipulation to test util, this would allow changing umask in a contained manner instead of doing it globally.

@matrixhead matrixhead marked this pull request as draft May 16, 2024 10:43
@matrixhead
Copy link
Contributor Author

matrixhead commented May 16, 2024

@tertsdiepraam is this okay? Should I port existing tests to utilize this?

@tertsdiepraam
Copy link
Member

I love it!

tests/common/util.rs Outdated Show resolved Hide resolved
@tertsdiepraam
Copy link
Member

And yes, it'd be great if you could port a few tests (in a separate commit) so that we can see that this actually solves our issue.

Co-authored-by: Terts Diepraam <[email protected]>
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

@matrixhead matrixhead marked this pull request as ready for review May 18, 2024 18:29
@sylvestre sylvestre merged commit 3c096ee into uutils:main May 19, 2024
66 of 68 checks passed
@sylvestre
Copy link
Sponsor Contributor

thanks!

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.

None yet

3 participants