diff options
author | Xinchen Hui <laruence@gmail.com> | 2015-09-22 12:06:09 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2015-09-22 12:06:09 +0800 |
commit | b8ea991821753898ba30fa170b25eadd3fc703b2 (patch) | |
tree | d92686603a08b0ba90d08e425a87d56e2cffe373 | |
parent | e1dcfd2cf900995fba28866dfb52fa68171d1ab8 (diff) | |
download | php-git-b8ea991821753898ba30fa170b25eadd3fc703b2.tar.gz |
Fixed bug #70546 (ext/sysvshm: two broken tests on Solaris) by rainer.jung
-rw-r--r-- | ext/sysvshm/tests/002.phpt | 2 | ||||
-rw-r--r-- | ext/sysvshm/tests/007.phpt | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ext/sysvshm/tests/002.phpt b/ext/sysvshm/tests/002.phpt index 4ae7a86a4a..cf83b8228b 100644 --- a/ext/sysvshm/tests/002.phpt +++ b/ext/sysvshm/tests/002.phpt @@ -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)); diff --git a/ext/sysvshm/tests/007.phpt b/ext/sysvshm/tests/007.phpt index d68fcea7dd..584f13ac7a 100644 --- a/ext/sysvshm/tests/007.phpt +++ b/ext/sysvshm/tests/007.phpt @@ -17,7 +17,6 @@ var_dump(shm_remove(0)); var_dump(shm_remove("")); var_dump(shm_remove($s)); -var_dump(shm_remove($s)); shm_detach($s); var_dump(shm_remove($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) |