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

test_raise_error fails with musl libc #920

Closed
yu-re-ka opened this issue Sep 21, 2022 · 1 comment · Fixed by #923
Closed

test_raise_error fails with musl libc #920

yu-re-ka opened this issue Sep 21, 2022 · 1 comment · Fixed by #923

Comments

@yu-re-ka
Copy link

yu-re-ka commented Sep 21, 2022

The test makes the assumption that getting the errno text for -1 will return Unknown error -1, but this is not defined anywhere in POSIX or C standards and other libc implementations have different return values for this. musl libc returns No error information.
I would suggest to remove the test variant or loosen the expectation of a specific error text.

@kurtmckee
Copy link
Contributor

@yu-re-ka, please test the fix in #923 when you have an opportunity. Thanks!

kurtmckee added a commit to kurtmckee/watchdog that referenced this issue Oct 11, 2022
BoboTiG pushed a commit that referenced this issue Oct 12, 2022
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 a pull request may close this issue.

2 participants