Skip to content

Commit 1978dae

Browse files
committed
Skip test on Apple
1 parent 3f67d5a commit 1978dae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext/sockets/tests/socket_set_option_error_socket_option.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ Test if socket_set_option() returns 'unable to set socket option' failure for in
33
--SKIPIF--
44
<?php
55
if (!extension_loaded('sockets')) {
6-
die('SKIP sockets extension not available.');
6+
die('SKIP sockets extension not available.');
7+
}
8+
if (PHP_OS == 'Darwin') {
9+
die('skip Not for OSX');
710
}
811
$filename = dirname(__FILE__) . '/006_root_check.tmp';
912
$fp = fopen($filename, 'w');

0 commit comments

Comments
 (0)