Re: bad test case that depends on user local ini
| From: | Jani Taskinen | Date: | Sun, 30 Dec 2007 11:31:19 +0000 |
| Subject: | Re: bad test case that depends on user local ini | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34279@lists.php.net to get a copy of this message | ||
These both tests should just have the INI section with proper settings.
--Jani
On Sun, 2007-12-30 at 11:16 +0800, phpxcache wrote:
> i have the following settings in my /etc/php.ini
> pcre.backtrack_limit=10000
> pcre.recursion_limit=10000000
> test case
> ini_get_all() tests [ext/standard/tests/general_functions/ini_get_all.phpt]
> FAIL. but after i remove the settings, it will PASS.
>
> Bug #43128 Very long class name causes segfault [Zend/tests/bug43128.phpt]
> also FAIL because i have memory_limit set to 50M in /etc/php.ini, PASS
> if i set it to 100M
>
> is it expected that the test case should depends on users' ini settings?
>
--
Patches/Donations: http://pecl.php.net/~jani/