mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Make ext/shmop/tests/gh14537.phpt more resilient (GH-15985)
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.
This commit is contained in:
parent
5bfd45cd44
commit
0695b9773d
1 changed files with 1 additions and 1 deletions
|
@ -23,5 +23,5 @@ var_dump($shm_id2);
|
|||
object(Shmop)#1 (0) {
|
||||
}
|
||||
|
||||
Warning: shmop_open(): Unable to attach or create shared memory segment "No error" in %s on line %d
|
||||
Warning: shmop_open(): Unable to attach or create shared memory segment "%s" in %s on line %d
|
||||
bool(false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue