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

Avoid spurious failures in the presence of non-zero default nice #4783

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

sunfishcode
Copy link
Contributor

Make test_get_current_niceness query the libc nice value instead of hard-coding a value of zero. This avoids a spurious failure on systems which have a non-zero default nice value.

This fixes spurious failures on my machine.

Make `test_get_current_niceness` query the libc nice value instead of
hard-coding a value of zero. This avoids a spurious failure on systems
which have a non-zero default nice value.

This fixes spurious failures on my machine.
@uutils uutils deleted a comment from github-actions bot Apr 26, 2023
@sylvestre sylvestre merged commit 5a7eb5b into uutils:main Apr 26, 2023
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