php4 run-tests.php always inserting HTTP headers
| From: | Daniel Convissor | Date: | Mon, 05 Jan 2004 08:19:45 +0000 |
| Subject: | php4 run-tests.php always inserting HTTP headers | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-6787@lists.php.net to get a copy of this message | ||
Greetings:
I'm using run-tests.php under PHP 4.3.4 to test out stuff for PEAR::DB.
Unfortunately, all the tests fail due to the HTTP headers getting inserted
at the top of each file.
run-tests.php and the tests directory are pulled from PHP 4 source a few
minutes ago.
Here's the commands I used, using a Cygwin shell on Windows 2000.
TEST_PHP_EXECUTABLE=c:/progra~1/php/php.exe
php c:/progra~1/php/run-tests.php
d:/webroot/ideasphp/pear/dbtests/driver/.
I also tried using "php -q ..." as well as the CLI version of PHP to no
avail.
My final attempt to hack this was to change line 614 of run-tests.php from
$output =
$extra $php $info_params -f $tmp_skipif;
to
$output = $extra $php -q $info_params -f $tmp_skipif;
Any suggestions, please?
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409