File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ die('skip SO_PASSCRED is not defined');
1717--FILE --
1818<?php
1919include __DIR__ ."/mcast_helpers.php.inc " ;
20- $ path = __DIR__ . "/socket_cmsg_credentials.sock " ;
20+ $ path = sys_get_temp_dir () . "/socket_cmsg_credentials.sock " ;
2121
2222@unlink ($ path );
2323
@@ -55,7 +55,7 @@ var_dump($data['control'][0]['data']['pid'] === $pid);
5555?>
5656--CLEAN--
5757<?php
58- $ path = __DIR__ . "/socket_cmsg_credentials.sock " ;
58+ $ path = sys_get_temp_dir () . "/socket_cmsg_credentials.sock " ;
5959@unlink ($ path );
6060--EXPECTF --
6161creating send socket
Original file line number Diff line number Diff line change @@ -11,14 +11,10 @@ die('skip not for Microsoft Windows');
1111if (strtolower (substr (PHP_OS , 0 , 3 )) == 'aix ' ) {
1212die ('skip not for AIX ' );
1313}
14- --CLEAN --
15- <?php
16- $ path = __DIR__ . "/socket_cmsg_rights.sock " ;
17- @unlink ($ path );
1814--FILE --
1915<?php
2016include __DIR__ ."/mcast_helpers.php.inc " ;
21- $ path = __DIR__ . "/socket_cmsg_rights.sock " ;
17+ $ path = sys_get_temp_dir () . "/socket_cmsg_rights.sock " ;
2218
2319@unlink ($ path );
2420
@@ -78,6 +74,10 @@ if ($data["control"]) {
7874 var_dump ($ data );
7975}
8076?>
77+ --CLEAN--
78+ <?php
79+ $ path = sys_get_temp_dir () . "/socket_cmsg_rights.sock " ;
80+ @unlink ($ path );
8181--EXPECTF --
8282creating send socket
8383object (Socket)#%d (0) {
You can’t perform that action at this time.
0 commit comments