Re: Apache::Test question

[prev] [thread] [next] [Date index for 2004/12/16]

From: William McKee
Subject: Re: Apache::Test question
Date: 21:19 on 16 Dec 2004
On Thu, Dec 16, 2004 at 11:28:42AM -0500, Stas Bekman wrote:
> Right, because as you've figured out t/conf/apache_test_config.pm is a 
> cached version of the the test setup data. So you need to do a cleanup 
> before reconfiguring things so that file gets updated. Note that you 
> perform things A-T has no top-level support for at the moment. Since your 
> hack uses internal APIs it can break any moment if things change. So it's 
> important to provide a public API for this kind of purposes.

Hi Torsten,

This is an interesting approach you are using. I have opted for creating
a virtual server in my extra.conf.in config file called 'ssl' which
turns on mod_ssl in order to do my tests which require an ssl
connection. When I want to use the SSL connection in a request test, I
do the following:

  my $config = Apache::Test::config();
  Apache::TestRequest::module('ssl');
  my $hostport = Apache::TestRequest::hostport();

I suppose this would not work for the automatically built response tests
which use the default port.


William

        -- 
        Knowmad Services Inc.
http://www.knowmad.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

Apache::Test question
Torsten Foertsch 10:31 on 15 Dec 2004

Re: Apache::Test question
Stas Bekman 19:46 on 15 Dec 2004

Re: Apache::Test question
Torsten Foertsch 14:50 on 16 Dec 2004

Re: Apache::Test question
Stas Bekman 16:28 on 16 Dec 2004

Re: Apache::Test question
William McKee 21:19 on 16 Dec 2004

Re: Apache::Test question
Stas Bekman 23:28 on 16 Dec 2004

Re: Apache::Test question
Geoffrey Young 23:39 on 16 Dec 2004

Re: Apache::Test question
Torsten Foertsch 15:32 on 19 Dec 2004

Re: Apache::Test question
Stas Bekman 22:34 on 19 Dec 2004

Re: Apache::Test question
Geoffrey Young 23:36 on 16 Dec 2004

Re: Apache::Test question
Stas Bekman 23:49 on 16 Dec 2004

Re: Apache::Test question
Geoffrey Young 00:29 on 17 Dec 2004

Re: Apache::Test question
Stas Bekman 00:41 on 17 Dec 2004

[PATCH]Re: Apache::Test question
Torsten Foertsch 13:41 on 01 May 2005

Generated at 10:25 on 04 May 2005 by mariachi v0.52