1
0
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:
Xinchen Hui
2015-09-22 12:06:09 +08:00
parent e1dcfd2cf9
commit b8ea991821
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -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));
-2
View File
@@ -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)