Apache::Test question

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

From: Torsten Foertsch
Subject: Apache::Test question
Date: 10:31 on 15 Dec 2004
--nextPart4548614.FBf4kUJk4V
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

I want my test suite run once with mod_ssl.so loaded and once without. My=20
TEST.PL looks this:

use strict;
use warnings FATAL =3D> 'all';

use lib qw(lib);

use Apache::TestRunPerl ();

my $I=3DApache::TestRunPerl->new;

$I->run(@ARGV);

Apache::TestConfig::autoconfig_skip_module_add('mod_ssl.c');

$I->refresh;

$I->run(@ARGV);

This works fine but I need to know in my handlers and in the tests itself w=
hat=20
case is running. For the handlers I set a variable in extra.conf.in:

<IfModule mod_ssl.c>
    PerlSetVar HAVE_SSL 1
</IfModule>

But how do I know it in the tests? Is there another way except of scanning=
=20
conf/httpd.conf?

Torsten

--nextPart4548614.FBf4kUJk4V
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBwBKdwicyCTir8T4RAh4XAJ4ybZhxSYD4HV1AJLDYnnn33pYUNwCdGIrn
IEywrrCfzayGh7p5hmPk9FE=
=EDLJ
-----END PGP SIGNATURE-----

--nextPart4548614.FBf4kUJk4V--

(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