mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
Fixed bug #70546 (ext/sysvshm: two broken tests on Solaris) by rainer.jung
This commit is contained in:
@@ -25,7 +25,7 @@ var_dump($s = shm_attach($key, 1024));
|
||||
shm_remove($key);
|
||||
var_dump($s = shm_attach($key, 1024));
|
||||
shm_remove($s);
|
||||
var_dump(shm_attach($key, 1024, 0666));
|
||||
var_dump($s = shm_attach($key, 1024, 0666));
|
||||
shm_remove($s);
|
||||
|
||||
var_dump($s = shm_attach($key, 1024));
|
||||
|
||||
@@ -16,7 +16,6 @@ var_dump(shm_remove(-1));
|
||||
var_dump(shm_remove(0));
|
||||
var_dump(shm_remove(""));
|
||||
|
||||
var_dump(shm_remove($s));
|
||||
var_dump(shm_remove($s));
|
||||
|
||||
shm_detach($s);
|
||||
@@ -38,7 +37,6 @@ NULL
|
||||
Warning: shm_remove() expects parameter 1 to be resource, string given in %s007.php on line %d
|
||||
NULL
|
||||
bool(true)
|
||||
bool(true)
|
||||
|
||||
Warning: shm_remove(): supplied resource is not a valid sysvshm resource in %s007.php on line %d
|
||||
bool(false)
|
||||
|
||||
Reference in New Issue
Block a user