diff options
author | Florian Anderiasch <fa@php.net> | 2011-09-06 11:15:23 +0000 |
---|---|---|
committer | Florian Anderiasch <fa@php.net> | 2011-09-06 11:15:23 +0000 |
commit | c5741472b0f867ed978689d8248ca24e81152950 (patch) | |
tree | 09c95b73d7a1d4db039d96026edc236c2d99769b | |
parent | 1159cd2002a227a6257a7cddda404409e8858189 (diff) | |
download | php-git-c5741472b0f867ed978689d8248ca24e81152950.tar.gz |
MFH: Fixed ext/sockets/tests/socket_strerror.phpt
So it seems a missing ) killed the test.
-rw-r--r-- | ext/sockets/tests/socket_strerror.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/tests/socket_strerror.phpt b/ext/sockets/tests/socket_strerror.phpt index 52e7a0a481..3fb788f3d0 100644 --- a/ext/sockets/tests/socket_strerror.phpt +++ b/ext/sockets/tests/socket_strerror.phpt @@ -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.'); } ?> |