com php-src: Skip test on Apple: ext/sockets/tests/socket_set _option_error_socket_option.phpt
| From: | Xinchen Hui | Date: | Tue, 05 Mar 2013 06:02:28 +0000 |
| Subject: | com php-src: Skip test on Apple: ext/sockets/tests/socket_set _option_error_socket_option.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71400@lists.php.net to get a copy of this message | ||
Commit: 1978dae3095d6f02cbcb964142802fd0f3a7ee16
Author: Xinchen Hui <laruence@php.net> Tue, 5 Mar 2013 14:02:28 +0800
Parents: 3f67d5ae434236be1db2ee54baf85725ac7b6a56
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1978dae3095d6f02cbcb964142802fd0f3a7ee16
Log:
Skip test on Apple
Changed paths:
M ext/sockets/tests/socket_set_option_error_socket_option.phpt
Diff:
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 eaa0e64..ea3b36d 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');