Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6787 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90485 invoked by uid 1010); 5 Jan 2004 08:19:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90402 invoked from network); 5 Jan 2004 08:19:45 -0000 Received: from unknown (HELO mail1.panix.com) (166.84.1.72) by pb1.pair.com with SMTP; 5 Jan 2004 08:19:45 -0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail1.panix.com (Postfix) with ESMTP id 6405848773 for ; Mon, 5 Jan 2004 03:19:45 -0500 (EST) Received: (from analysis@localhost) by panix5.panix.com (8.11.6p2-a/8.8.8/PanixN1.1) id i058Jjx08223 for internals@lists.php.net; Mon, 5 Jan 2004 03:19:45 -0500 (EST) Date: Mon, 5 Jan 2004 03:19:45 -0500 To: PHP Internals List Message-ID: <20040105081945.GA7728@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: php4 run-tests.php always inserting HTTP headers From: danielc@analysisandsolutions.com (Daniel Convissor) 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