On 09/10/2009 09:23 AM, Pierre Joye wrote:
hi Ilia,

What is it supposed to fix here? It fails now here. I'm not sure where

Define "here" ? It works fine HERE.

/tmp-php.ini comes from. It looks like yet a case to make my point
about not using system's ini :)

It's not using system's ini. And your point is stupid. We've already seen several bugs being caught by really using system ini.

--Jani



Cheers,



On Thu, Sep 10, 2009 at 4:15 AM, Ilia Alshanetsky<il...@php.net>  wrote:
iliaa                                    Thu, 10 Sep 2009 02:15:08 +0000

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

Log:
Fixed test

Changed paths:
    U   php/php-src/branches/PHP_5_2/ext/standard/tests/php_ini_loaded_file.phpt
    U   php/php-src/branches/PHP_5_3/ext/standard/tests/php_ini_loaded_file.phpt
    U   php/php-src/trunk/ext/standard/tests/php_ini_loaded_file.phpt

Modified: 
php/php-src/branches/PHP_5_2/ext/standard/tests/php_ini_loaded_file.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/standard/tests/php_ini_loaded_file.phpt    
2009-09-10 01:20:42 UTC (rev 288215)
+++ php/php-src/branches/PHP_5_2/ext/standard/tests/php_ini_loaded_file.phpt    
2009-09-10 02:15:08 UTC (rev 288216)
@@ -8,6 +8,5 @@
  <?php
  var_dump(php_ini_loaded_file());
  ?>
---EXPECT--
-bool(false)
-
+--EXPECTF--
+string(%d) "%s/tmp-php.ini"

Modified: 
php/php-src/branches/PHP_5_3/ext/standard/tests/php_ini_loaded_file.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/php_ini_loaded_file.phpt    
2009-09-10 01:20:42 UTC (rev 288215)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/php_ini_loaded_file.phpt    
2009-09-10 02:15:08 UTC (rev 288216)
@@ -8,6 +8,5 @@
  <?php
  var_dump(php_ini_loaded_file());
  ?>
---EXPECT--
-bool(false)
-
+--EXPECTF--
+string(%d) "%s/tmp-php.ini"

Modified: php/php-src/trunk/ext/standard/tests/php_ini_loaded_file.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/php_ini_loaded_file.phpt       
2009-09-10 01:20:42 UTC (rev 288215)
+++ php/php-src/trunk/ext/standard/tests/php_ini_loaded_file.phpt       
2009-09-10 02:15:08 UTC (rev 288216)
@@ -8,6 +8,5 @@
  <?php
  var_dump(php_ini_loaded_file());
  ?>
---EXPECT--
-bool(false)
-
+--EXPECTF--
+string(%d) "%s/tmp-php.ini"


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






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

Reply via email to