Skip to content

Commit 0487bcf

Browse files
committed
Avoid socket path clash in test
1 parent bf3e772 commit 0487bcf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/sockets/tests/socket_cmsg_credentials.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ die('skip SO_PASSCRED is not defined');
1616
}
1717
--CLEAN--
1818
<?php
19-
$path = __DIR__ . "/unix_sock";
19+
$path = __DIR__ . "/socket_cmsg_credentials.sock";
2020
@unlink($path);
2121
--FILE--
2222
<?php
2323
include __DIR__."/mcast_helpers.php.inc";
24-
$path = __DIR__ . "/unix_sock";
24+
$path = __DIR__ . "/socket_cmsg_credentials.sock";
2525

2626
@unlink($path);
2727

ext/sockets/tests/socket_cmsg_rights.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ die('skip not for AIX');
1313
}
1414
--CLEAN--
1515
<?php
16-
$path = __DIR__ . "/unix_sock";
16+
$path = __DIR__ . "/socket_cmsg_rights.sock";
1717
@unlink($path);
1818
--FILE--
1919
<?php
2020
include __DIR__."/mcast_helpers.php.inc";
21-
$path = __DIR__ . "/unix_sock";
21+
$path = __DIR__ . "/socket_cmsg_rights.sock";
2222

2323
@unlink($path);
2424

0 commit comments

Comments
 (0)