stas                                     Sun, 04 Sep 2011 04:57:01 +0000

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

Log:
test fixes

Changed paths:
    U   
php/php-src/branches/PHP_5_4/ext/mbstring/tests/mb_internal_encoding_variation2.phpt
    U   
php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_options_openbasedir.phpt
    U   
php/php-src/trunk/ext/mbstring/tests/mb_internal_encoding_variation2.phpt
    U   php/php-src/trunk/ext/mysqli/tests/mysqli_options_openbasedir.phpt

Modified: 
php/php-src/branches/PHP_5_4/ext/mbstring/tests/mb_internal_encoding_variation2.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/mbstring/tests/mb_internal_encoding_variation2.phpt
        2011-09-04 04:40:47 UTC (rev 316091)
+++ 
php/php-src/branches/PHP_5_4/ext/mbstring/tests/mb_internal_encoding_variation2.phpt
        2011-09-04 04:57:01 UTC (rev 316092)
@@ -335,10 +335,10 @@
 -- Iteration 49 --
 string(5) "BIG-5"
 bool(true)
-string(5) "BIG-5"
+string(5) "CP950"

 -- Iteration 50 --
-string(5) "BIG-5"
+string(5) "CP950"
 bool(true)
 string(6) "EUC-KR"


Modified: 
php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_options_openbasedir.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_options_openbasedir.phpt   
    2011-09-04 04:40:47 UTC (rev 316091)
+++ 
php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_options_openbasedir.phpt   
    2011-09-04 04:57:01 UTC (rev 316092)
@@ -7,10 +7,10 @@
 require_once('skipifconnectfailure.inc');
 ?>
 --INI--
-open_basedir="."
 --FILE--
 <?php
        require_once('connect.inc');
+       ini_set("open_basedir", __DIR__);
        if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, 
$socket))
                printf("[001] Cannot connect, [%d] %s\n", 
mysqli_connect_errno(), mysqli_connect_error());


Modified: 
php/php-src/trunk/ext/mbstring/tests/mb_internal_encoding_variation2.phpt
===================================================================
--- php/php-src/trunk/ext/mbstring/tests/mb_internal_encoding_variation2.phpt   
2011-09-04 04:40:47 UTC (rev 316091)
+++ php/php-src/trunk/ext/mbstring/tests/mb_internal_encoding_variation2.phpt   
2011-09-04 04:57:01 UTC (rev 316092)
@@ -335,10 +335,10 @@
 -- Iteration 49 --
 string(5) "BIG-5"
 bool(true)
-string(5) "BIG-5"
+string(5) "CP950"

 -- Iteration 50 --
-string(5) "BIG-5"
+string(5) "CP950"
 bool(true)
 string(6) "EUC-KR"


Modified: php/php-src/trunk/ext/mysqli/tests/mysqli_options_openbasedir.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/mysqli_options_openbasedir.phpt  
2011-09-04 04:40:47 UTC (rev 316091)
+++ php/php-src/trunk/ext/mysqli/tests/mysqli_options_openbasedir.phpt  
2011-09-04 04:57:01 UTC (rev 316092)
@@ -7,10 +7,10 @@
 require_once('skipifconnectfailure.inc');
 ?>
 --INI--
-open_basedir="."
 --FILE--
 <?php
        require_once('connect.inc');
+       ini_set("open_basedir", __DIR__);
        if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, 
$socket))
                printf("[001] Cannot connect, [%d] %s\n", 
mysqli_connect_errno(), mysqli_connect_error());


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

Reply via email to