MFH: Fixed ext/sockets/tests/socket_strerror.phpt

So it seems a missing ) killed the test.
This commit is contained in:
Florian Anderiasch 2011-09-06 11:15:23 +00:00
parent 1159cd2002
commit c5741472b0

View File

@ -5,10 +5,10 @@ Florian Anderiasch
fa@php.net
--SKIPIF--
<?php
if (!extension_loaded('sockets')) {
if (!extension_loaded('sockets') || !function_exists('socket_strerror')) {
die('skip sockets extension not available.');
}
if (!stristr(PHP_OS, "linux") {
if (!stristr(PHP_OS, "Linux")) {
die('skip - test validtes linux error strings only.');
}
?>