andrey                                   Tue, 11 May 2010 15:55:07 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=299253

Log:
One more time fixing the tests, lets use $IS_MYSQLND which comes from 
connect.inc

Changed paths:
    U   
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
    U   
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
    U   php/php-src/trunk/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
    U   php/php-src/trunk/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt

Modified: 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
 2010-05-11 15:50:21 UTC (rev 299252)
+++ 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
 2010-05-11 15:55:07 UTC (rev 299253)
@@ -6,7 +6,7 @@
 require_once('skipifemb.inc');
 require_once('skipifconnectfailure.inc');

-if (!stristr(mysqli_get_client_info(), 'mysqlnd')) {
+if (!$IS_MYSQLND) {
        die("skip: test applies only to mysqlnd");
 }


Modified: 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
 2010-05-11 15:50:21 UTC (rev 299252)
+++ 
php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
 2010-05-11 15:55:07 UTC (rev 299253)
@@ -6,7 +6,7 @@
 require_once('skipifemb.inc');
 require_once('skipifconnectfailure.inc');

-if (!stristr(mysqli_get_client_info(), 'mysqlnd')) {
+if (!$IS_MYSQLND) {
        die("skip: test applies only to mysqlnd");
 }


Modified: 
php/php-src/trunk/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt    
2010-05-11 15:50:21 UTC (rev 299252)
+++ php/php-src/trunk/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt    
2010-05-11 15:55:07 UTC (rev 299253)
@@ -6,7 +6,7 @@
 require_once('skipifemb.inc');
 require_once('skipifconnectfailure.inc');

-if (!stristr(mysqli_get_client_info(), 'mysqlnd')) {
+if (!$IS_MYSQLND) {
        die("skip: test applies only to mysqlnd");
 }


Modified: 
php/php-src/trunk/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt    
2010-05-11 15:50:21 UTC (rev 299252)
+++ php/php-src/trunk/ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt    
2010-05-11 15:55:07 UTC (rev 299253)
@@ -6,7 +6,7 @@
 require_once('skipifemb.inc');
 require_once('skipifconnectfailure.inc');

-if (!stristr(mysqli_get_client_info(), 'mysqlnd')) {
+if (!$IS_MYSQLND) {
        die("skip: test applies only to mysqlnd");
 }


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to