com php-src: abstract namespace for unix sockets is a linux only feature: ext/standard/tests/network/bug64330.phpt
| From: | Ferenc Kovacs | Date: | Wed, 09 Apr 2014 17:01:01 +0000 |
| Subject: | com php-src: abstract namespace for unix sockets is a linux only feature: ext/standard/tests/network/bug64330.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76749@lists.php.net to get a copy of this message | ||
Commit: 2c8aeda6dc0f37cc835edc557e7e9dab876837c0
Author: Ferenc Kovacs <tyrael@php.net> Wed, 9 Apr 2014 19:01:01 +0200
Parents: 0ea731fc83ef2cdcbac3b7449baffdcc8d6b1216
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2c8aeda6dc0f37cc835edc557e7e9dab876837c0
Log:
abstract namespace for unix sockets is a linux only feature
Changed paths:
M ext/standard/tests/network/bug64330.phpt
Diff:
diff --git a/ext/standard/tests/network/bug64330.phpt b/ext/standard/tests/network/bug64330.phpt
index 1ea305c..e5653e7 100644
--- a/ext/standard/tests/network/bug64330.phpt
+++ b/ext/standard/tests/network/bug64330.phpt
@@ -3,6 +3,7 @@ Bug #64330 (stream_socket_server() creates wrong Abstract Namespace UNIX sockets
--SKIPIF--
<?php
if (!in_array("unix", stream_get_transports())) die("SKIP unix domain sockets
unavailable");
+if (!stristr(PHP_OS, "Linux")) die('skip abstract namespace is a Linux-only
feature');
?>
--FILE--
<?php