]> granicus.if.org Git - php/commitdiff
Skip test on Apple
authorXinchen Hui <laruence@php.net>
Tue, 5 Mar 2013 06:02:28 +0000 (14:02 +0800)
committerXinchen Hui <laruence@php.net>
Tue, 5 Mar 2013 06:02:28 +0000 (14:02 +0800)
ext/sockets/tests/socket_set_option_error_socket_option.phpt

index eaa0e64faf0fd438ce3b050aa0f0aa6f489b0717..ea3b36d99f97dc5585dcc596abc8a3020e10a7bd 100644 (file)
@@ -3,7 +3,10 @@ Test if socket_set_option() returns 'unable to set socket option' failure for in
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-        die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
+}
+if (PHP_OS == 'Darwin') {
+    die('skip Not for OSX');
 }
 $filename = dirname(__FILE__) . '/006_root_check.tmp';
 $fp = fopen($filename, 'w');