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

uptime: relax error message due to different errno on MacOS #6571

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

BenWiederhake
Copy link
Collaborator

Fixes #6569 by relaxing the test. Apparently, the entire stderr generated on MacOS is merely uptime: couldn't get boot time\n. It is unclear to my why uptime: couldn't get boot time: Illegal seek was expected, but this still seems like good behavior to me, so let's make the test green.

My best guess is that the error message changed slightly in #6514, but that PR had a green test. I don't understand.

@sylvestre sylvestre merged commit 7470f65 into uutils:main Jul 15, 2024
65 of 68 checks passed
@sylvestre
Copy link
Contributor

thanks

@BenWiederhake
Copy link
Collaborator Author

BenWiederhake commented Jul 15, 2024

CI fails due to known issues: #6534 and #6570 (twice)

EDIT: Wow, a real-life race condition :D

@BenWiederhake BenWiederhake deleted the dev-fix-mac-ci branch July 15, 2024 20:15
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/timeout/timeout is no longer failing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flaky CI macos: test_uptime_with_fifo fails due to changed error message(?)
2 participants