httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher H. Laco" <apache-t...@chrislaco.com>
Subject Re: [PATCH] Test & TestRequest pod
Date Tue, 07 Dec 2004 02:18:55 GMT
Christopher H. Laco wrote:
> Christopher H. Laco wrote:
> 
>> OK, not that I've got a clean nmake/nmake test, I'm back on this. I'm 
>> going to just start with t/modperl and go from there.
>>
>> Since these patches will span A-T and modperl, should I send them 
>> seperately to both lists, of send both sets to one list of the other?
>>
>> -=Chris
>>
>>
> 
> I've also noticed that some tests in t/modperl simply set their location
> 
>     my $location = "/TestModperl__readline";
> 
> while other tests use a full uri including the server/port (hostport, 
> now module2url).
> 
> Should all of them use the latter method for consistancy sake, or is 
> there a reason for the madness?
> 
> Thanks.
> -=Chris
> 
> 
Assuming we should always GET/POST/HEAD/UPLOAD to the full 
host:port/path and not just /path, what about making a more generic 
path2url($path) that uses config/hostport to create the full url.

Then we can run module2url's path through that and use path2url for the 
test cases like t/modperl/readline.t that don't set A::TR::module?

-=Chris

Mime
View raw message