summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2013-03-05 14:02:28 +0800
committerXinchen Hui <laruence@php.net>2013-03-05 14:02:28 +0800
commit1978dae3095d6f02cbcb964142802fd0f3a7ee16 (patch)
tree984d099a8c2ad7f6aa80d3e98e2bfc0f63a35c02 /ext/sockets
parent3f67d5ae434236be1db2ee54baf85725ac7b6a56 (diff)
downloadphp-git-1978dae3095d6f02cbcb964142802fd0f3a7ee16.tar.gz
Skip test on Apple
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/tests/socket_set_option_error_socket_option.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/sockets/tests/socket_set_option_error_socket_option.phpt b/ext/sockets/tests/socket_set_option_error_socket_option.phpt
index eaa0e64faf..ea3b36d99f 100644
--- a/ext/sockets/tests/socket_set_option_error_socket_option.phpt
+++ b/ext/sockets/tests/socket_set_option_error_socket_option.phpt
@@ -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');