Hello, these tests fail for me too, ubuntu 11.04 x86, both trunk and 5.4 branches.
2011/9/12 Ferenc Kovacs <tyr...@gmail.com>: > On Sun, Sep 11, 2011 at 11:04 PM, Stas Malyshev <smalys...@sugarcrm.com> > wrote: >> Hi! >> >> On 9/11/11 8:44 AM, Ferenc Kovacs wrote: >>> >>> AFAIK you shoud get it(as I did on my debian machines), as both >>> display_startup_errors and error_reporting is force enabled for the >>> tests: >>> http://svn.php.net/viewvc/php/php-src/trunk/run-tests.php?view=markup#l232 >>> http://svn.php.net/viewvc/php/php-src/trunk/run-tests.php?view=markup#l230 >> >> Well, maybe I should, but I am not. If you think it's a bug and have a fix >> you're welcome to propose it. >> > > I did, and you just reverted it, this is why I'm curious. :) > could you please run the following (basically running those 2 tests > with verbose output): > TEST_PHP_EXECUTABLE=auto TEST_PHP_CGI_EXECUTABLE=auto ./sapi/cli/php > run-tests.php -g 'SKIP,FAIL,XFAIL' -n -c tmp-php.ini -v > ext/session/tests/rfc1867_invalid_settings*.phpt > I would like to know how does your COMMAND look like. > mine is something like: > /home/tyrael/checkouts/php-src/trunk/sapi/cli/php -n -c 'tmp-php.ini' > -d "output_handler=" -d "open_basedir=" -d "safe_mode=0" -d > "disable_functions=" -d "output_buffering=Off" -d > "error_reporting=32767" -d "display_errors=1" -d > "display_startup_errors=1" -d "log_errors=0" -d "html_errors=0" -d > "track_errors=1" -d "report_memleaks=1" -d "report_zend_debug=0" -d > "docref_root=" -d "docref_ext=.html" -d "error_prepend_string=" -d > "error_append_string=" -d "auto_prepend_file=" -d "auto_append_file=" > -d "magic_quotes_runtime=0" -d "ignore_repeated_errors=0" -d > "precision=14" -d "unicode.runtime_encoding=ISO-8859-1" -d > "unicode.script_encoding=UTF-8" -d "unicode.output_encoding=UTF-8" -d > "unicode.from_error_mode=U_INVALID_SUBSTITUTE" -d > "session.auto_start=0" -d "tidy.clean_output=0" -d > "zlib.output_compression=Off" -d "mbstring.func_overload=0" -d > "session.upload_progress.freq=-1" -f > "/home/tyrael/checkouts/php-src/trunk/ext/session/tests/rfc1867_invalid_settings.php" > 2>&1 > > and the second thing: > could you run the following: > ./sapi/cli/php -n -d session.upload_progress.freq=200% -d > error_reporting=-1 -d display_errors=1 -d display_startup_errors=1 -r > '' > this outputs for me: > PHP Warning: PHP Startup: session.upload_progress.freq cannot be over > 100% in Unknown on line 0 > > Warning: PHP Startup: session.upload_progress.freq cannot be over 100% > in Unknown on line 0 > > I verified this with multiple php version on multiple machines, if you > have both display_errors and display_startup_errors (and appropriate > error_reporting level), you should see those two lines. > btw: you can see from the reports that others also seeing this behaviour: > http://qa.php.net/reports/viewreports.php?version=5.4.0beta1-dev&test=%2Fext%2Fsession%2Ftests%2Frfc1867_invalid_settings.phpt > http://qa.php.net/reports/viewreports.php?version=5.4.0beta1-dev&test=%2Fext%2Fsession%2Ftests%2Frfc1867_invalid_settings_2.phpt > > -- > Ferenc Kovács > @Tyr43l - http://tyrael.hu > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Regards, Shein Alexey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php