Re: svn: /php/php-src/ branches/PHP_5_2/ext/standard/tests/php_ini_loaded_file.phpt branches/PHP_5_3/ext/standard/tests/php_ini_loaded_file.phpt
trunk/ext/standard/tests/php_ini_loaded_file.phpt
| From: | Ilia Alshanetsky | Date: | Fri, 11 Sep 2009 01:50:29 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_2/ext/standard/tests/php_ini_loaded_file.phpt branches/PHP_5_3/ext/standard/tests/php_ini_loaded_file.phpt trunk/ext/standard/tests/php_ini_loaded_file.phpt |
||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-60376@lists.php.net to get a copy of this message | ||
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<iliaa@php.net> wrote:--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.phpiliaa Thu, 10 Sep 2009 02:15:08 +0000Revision: 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