Skip to content

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

Merged
sylvestre merged 1 commit intouutils:mainfrom
BenWiederhake:dev-fix-mac-ci
Jul 15, 2024
Merged

uptime: relax error message due to different errno on MacOS#6571
sylvestre merged 1 commit intouutils:mainfrom
BenWiederhake:dev-fix-mac-ci

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
@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
@github-actions
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