summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-08-26 12:11:22 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-26 12:11:22 +0200
commit0487bcfac763453b3a386fe808d3ad58683936c9 (patch)
tree6398300426b3c7a9ee1e27e5cf9c636593f47d84 /ext/sockets
parentbf3e772361fe8bcc0915c123e707679e0aa619b9 (diff)
downloadphp-git-0487bcfac763453b3a386fe808d3ad58683936c9.tar.gz
Avoid socket path clash in test
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/tests/socket_cmsg_credentials.phpt4
-rw-r--r--ext/sockets/tests/socket_cmsg_rights.phpt4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/sockets/tests/socket_cmsg_credentials.phpt b/ext/sockets/tests/socket_cmsg_credentials.phpt
index 09266e6cbd..0472d3e001 100644
--- a/ext/sockets/tests/socket_cmsg_credentials.phpt
+++ b/ext/sockets/tests/socket_cmsg_credentials.phpt
@@ -16,12 +16,12 @@ die('skip SO_PASSCRED is not defined');
}
--CLEAN--
<?php
-$path = __DIR__ . "/unix_sock";
+$path = __DIR__ . "/socket_cmsg_credentials.sock";
@unlink($path);
--FILE--
<?php
include __DIR__."/mcast_helpers.php.inc";
-$path = __DIR__ . "/unix_sock";
+$path = __DIR__ . "/socket_cmsg_credentials.sock";
@unlink($path);
diff --git a/ext/sockets/tests/socket_cmsg_rights.phpt b/ext/sockets/tests/socket_cmsg_rights.phpt
index bd758abdf9..a00aa919fc 100644
--- a/ext/sockets/tests/socket_cmsg_rights.phpt
+++ b/ext/sockets/tests/socket_cmsg_rights.phpt
@@ -13,12 +13,12 @@ die('skip not for AIX');
}
--CLEAN--
<?php
-$path = __DIR__ . "/unix_sock";
+$path = __DIR__ . "/socket_cmsg_rights.sock";
@unlink($path);
--FILE--
<?php
include __DIR__."/mcast_helpers.php.inc";
-$path = __DIR__ . "/unix_sock";
+$path = __DIR__ . "/socket_cmsg_rights.sock";
@unlink($path);