Skip to content

Make ext/shmop/tests/gh14537.phpt more resilient #15985

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

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Sep 22, 2024

The actual problem is our shmget() implementation which does not care to set errno appropriately; that should be fixed, although mapping the error conditions to those specified by POSIX might be hard.

For now, we only make the test case more resilient by ignoring the exact error; "No error" doesn't make sense anyway.

The actual problem is our `shmget()` implementation which does not care
to set `errno` appropriately; that should be fixed, although mapping
the error conditions to those specified by POSIX might be hard.

For now, we only make the test case more resilient by ignoring the
exact error; "No error" doesn't make sense anyway.
@cmb69 cmb69 merged commit 0695b97 into php:master Sep 22, 2024
8 of 10 checks passed
@cmb69 cmb69 deleted the cmb/gh14537.phpt branch September 22, 2024 15:04
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.

2 participants