#21751 [Opn]: make test miserably fails
| From: | helly@php.net | Date: | Sat, 25 Jan 2003 19:55:50 +0000 |
| Subject: | #21751 [Opn]: make test miserably fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31232@lists.php.net to get a copy of this message | ||
ID: 21751
Updated by: helly@php.net
Reported By: vesely@tana.it
Status: Open
Bug Type: Output Control
Operating System: SunOS
PHP Version: 4.3.0
-Assigned To:
+Assigned To: helly
New Comment:
Symptoms are defeated the real problem remains:
"failed to delete buffer default output handler"
In other words with cvs versions you can do now:
php -d output_buffering=4096 run-tests.php
Interesting thing is that it worked in 4.2
Previous Comments:
------------------------------------------------------------------------
[2003-01-19 10:45:00] vesely@tana.it
I didn't have "." in my include_path and I
had output_buffering = 4096. Reasonable?
So the while(ob_get_level()) ob_end_clean();
algorithm in run-tsts.php runs forever: level
won't go below 1.
An implicit ob_start implied by buffering?
then the feature is fine and the test script
broken. I commented that out but forgot to
fix the .ini. Result: many test failures and
the result posted to your site w/o letting me
say a word. (Quite nasty, isn't it?)
In facts:
1) "-n" or "-c ." options to command line don't do it,
2) flush() doesn't work as expected when bufferning,
3) reading stdin doesn't work at all!
You need to fix (1) and ship the product with
a working php.ini for the tests.
Please fix the tests by setting something like
"do you want to run the tests interactively?"
and if you get no answer assume NO_INTERACTION=1!
TIA
Ale
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21751&edit=1