[EMAIL PROTECTED] wrote:
> On Tue, 5 Mar 2002, Yasuo Ohgaki wrote:
>>Thanks for catching this. I should have fix this description for now.
>>Test script does _NOT_ work with CLI SAPI's php binary.
>>
> 
> Yeah, but why doesn't it work?
> 

I guess you've already figure out, but anyway.
Edin mentioned in

Delivered-To: mailing list [EMAIL PROTECTED]
To: "Stig Bakken" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: [PHP-CVS] cvs: php4 /build rules.mk
From: [EMAIL PROTECTED] (Edin Kadribasic)

--- begin ---
Hi Stig,

I think that this patch needs to be reversed for now. This change only
affects the php executable that make runs, the actual test are executed from
run-tests.php. Yesterday I tried to do the exect same thing but with no
luck.

If we wanted to switch to use cli for tests (and I think we should)
run-tests.php need major rework. There are segments that read:

         putenv("REQUEST_METHOD=GET");
         putenv("CONTENT_TYPE=");
         putenv("CONTENT_LENGTH=");

cli happilly ignores these. Plus cli does not change CWD to that of the
script, so some tests need to be readjusted.

Edin
--- end ---

There may be others things makes run-tests.php makes imcompatible
with CLI.

-- 
Yasuo Ohgaki


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to