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