]> granicus.if.org Git - php/commitdiff
abstract namespace for unix sockets is a linux only feature
authorFerenc Kovacs <tyrael@php.net>
Wed, 9 Apr 2014 17:01:01 +0000 (19:01 +0200)
committerFerenc Kovacs <tyrael@php.net>
Wed, 9 Apr 2014 17:01:01 +0000 (19:01 +0200)
ext/standard/tests/network/bug64330.phpt

index 1ea305cb5f93d27edd4ca1329ad363efb167ecb9..e5653e745990e368a6fdfd9efdbe31e6f1302e08 100644 (file)
@@ -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