svn: /php/php-src/trunk/ext/sockets/tests/ socket_strerror.phpt

From: Date: Tue, 06 Sep 2011 09:56:13 +0000
Subject: svn: /php/php-src/trunk/ext/sockets/tests/ socket_strerror.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-66290@lists.php.net to get a copy of this message
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 @@ 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") { - die('skip - test validtes linux error strings only.'); + if (!stristr(PHP_OS, "Linux")) { + die('skip - test validates linux error strings only.'); } ?> --FILE--

« previous php.cvs (#66290) next »