On Fri, 29 Jul 2005 17:25:41 -0000 "Marcus Boerger" <[EMAIL PROTECTED]> wrote:
> helly Fri Jul 29 13:25:41 2005 EDT > > Modified files: > /php-src run-tests.php > Log: > - Add ENV support (mike) > > + if (empty($section_text['ENV'])) { > + $cmd = "$php$pass_options$ini_settings -f \"$tmp_file\" > $args 2>&1"; > + } else { > + $cmd = "$php$pass_options$ini_settings < \"$tmp_file\" > $args 2>&1"; > + } Executing tests this way (php < script.php) you break all the tests that use __FILE__ (as there is no __FILE__ in this case). -- Wbr, Antony Dovgal -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php