The test relies on no INI file being used, which is not true, since
the test suit makes a temporary INI file and uses it for all the
tests. The adjustment I've made, reflect this fact.
On 2009-09-10, at 2:23 AM, Pierre Joye wrote:
hi Ilia,
What is it supposed to fix here? It fails now here. I'm not sure where
/tmp-php.ini comes from. It looks like yet a case to make my point
about not using system's ini :)
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
--
Pierre
http://blog.thepimp.net | http://www.libgd.org
--
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