[php-src] PR #15985: Make ext/shmop/tests/gh14537.phpt more resilient
| From: | cmb69 | Date: | Sun, 22 Sep 2024 13:37:49 +0000 |
| Subject: | [php-src] PR #15985: Make ext/shmop/tests/gh14537.phpt more resilient | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28699@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15985
Author: cmb69
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.