fa Tue, 06 Sep 2011 09:56:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=316242
Log:
Fixed ext/sockets/tests/socket_strerror.phpt
So it seems a missing ) killed the test.
Changed paths:
U php/php-src/trunk/ext/sockets/tests/socket_strerror.phpt
Modified: php/php-src/trunk/ext/sockets/tests/socket_strerror.phpt
===================================================================
--- php/php-src/trunk/ext/sockets/tests/socket_strerror.phpt 2011-09-06
09:45:21 UTC (rev 316241)
+++ php/php-src/trunk/ext/sockets/tests/socket_strerror.phpt 2011-09-06
09:56:13 UTC (rev 316242)
@@ -5,11 +5,11 @@
[email protected]
--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") {
- die('skip - test validtes linux error strings only.');
+ if (!stristr(PHP_OS, "Linux")) {
+ die('skip - test validates linux error strings only.');
}
?>
--FILE--
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php