File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ die('skip SO_PASSCRED is not defined');
16
16
}
17
17
--FILE --
18
18
<?php
19
- include __DIR__ ."/mcast_helpers.php.inc " ;
20
- $ path = __DIR__ . "/socket_cmsg_credentials.sock " ;
19
+ chdir (__DIR__ );
20
+ include "./mcast_helpers.php.inc " ;
21
+ $ path = "./socket_cmsg_credentials.sock " ;
21
22
22
23
@unlink ($ path );
23
24
@@ -55,7 +56,8 @@ var_dump($data['control'][0]['data']['pid'] === $pid);
55
56
?>
56
57
--CLEAN--
57
58
<?php
58
- $ path = __DIR__ . "/socket_cmsg_credentials.sock " ;
59
+ chdir (__DIR__ );
60
+ $ path = "./socket_cmsg_credentials.sock " ;
59
61
@unlink ($ path );
60
62
--EXPECTF --
61
63
creating send socket
Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ die('skip not for AIX');
13
13
}
14
14
--CLEAN --
15
15
<?php
16
- $ path = __DIR__ . "/socket_cmsg_rights.sock " ;
16
+ chdir (__DIR__ );
17
+ $ path = "./socket_cmsg_rights.sock " ;
17
18
@unlink ($ path );
18
19
--FILE --
19
20
<?php
20
- include __DIR__ ."/mcast_helpers.php.inc " ;
21
- $ path = __DIR__ . "/socket_cmsg_rights.sock " ;
21
+ chdir (__DIR__ );
22
+ include "./mcast_helpers.php.inc " ;
23
+ $ path = "./socket_cmsg_rights.sock " ;
22
24
23
25
@unlink ($ path );
24
26
You can’t perform that action at this time.
0 commit comments