RE: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-26 Thread Thella, Rita
Hi All,

Do have to do anything different to get it going?

Thanks,
Rita

-Original Message-
From: Thella, Rita 
Sent: Tuesday, February 24, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: RE: [ANNOUNCE] Apache::Test 1.08 RC1


I ran into following error messages with perl 5.8.0



$ perl Makefile.PL -apxs /opt/hpws/apache/bin/apxs
Useless use of a constant in void context at lib/Apache/TestRun.pm line 1196.
Compilation failed in require at lib/Apache/TestConfig.pm line 36.
BEGIN failed--compilation aborted at lib/Apache/TestConfig.pm line 36.
Compilation failed in require at lib/Apache/TestMM.pm line 7.
BEGIN failed--compilation aborted at lib/Apache/TestMM.pm line 7.
Compilation failed in require at Makefile.PL line 16.
BEGIN failed--compilation aborted at Makefile.PL line 16.

Thanks,
Rita

-Original Message-
From: Geoffrey Young [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 9:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [ANNOUNCE] Apache::Test 1.08 RC1




Stas Bekman wrote:
 We would like to release Apache::Test 1.08. It includes multiple changes
 and improvements, therefore we need your help to test it and report any
 problems you may have noticed.
 
 http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz

I'm getting a strange error from 5.6.1 where no mod_perl is installed.

$ /perl/perl-5.6.1/bin/perl Makefile.PL -apxs
/apache/2.1/prefork/noperl/bin/apxs
Useless use of a constant in void context at
Apache-Test/lib/Apache/TestRun.pm line 1196.

strangely, the attached patch fixes things.

--Geoff


Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-26 Thread Stas Bekman
Thella, Rita wrote:
Hi All,
Do have to do anything different to get it going?
This bug should have been fixed in 1.08 which you can get from CPAN.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-25 Thread Stas Bekman
Thanks to all for testing this version. 1.08 is making its way to CPAN mirrors 
at this very moment.

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


[ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Stas Bekman
We would like to release Apache::Test 1.08. It includes multiple changes and 
improvements, therefore we need your help to test it and report any problems 
you may have noticed.

http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz
Thanks.
Changes so far:
Instead of hard-coding listen directive to 127.0.0.1, use the server
name. [Gozer]
added -defines configuration option, providing a way to pass additional
-D names to the server for use in IfDefine blocks.  [Geoffrey Young]
Make it possible to run TEST (or another driving script) from any path
(e.g. t/TEST, ./TEST, /full/path/to/t/TEST) [Stas]
If at least one *conf*.in files is modified since the last
configuration, make sure to regenerate them all, so the right ports
will be assigned. [Stas]
Make sure that Apache-Test modules are installed into INSTALLSITEARCH
during a standalone build. Because EU::MM does so when A-T is bundled
with mp2, and we want to avoid having A-T installed in two different
places under @INC. [Stas]
HTTP/0.9 responses no longer croak, provided $ENV{APACHE_TEST_HTTP_09_OK}
is true.  [Geoffrey Young]
Hard-code listen directive to 127.0.0.1, solving problems for people
with IPv4  IPv6 address until a better solution is found. [Gozer]
prefix Apache::TestTrace (non-colour mode) messages with the loglevel,
similar to what Apache does. [Stas]
Instrument A-T with an optional successful (shell-wise) abort of the
test suite, by asking the user whether they want to continue w/o
completing the test suite. Use it in places where we know that the
test suite will certaionly fail (e.g. running from /root as 'root', or
not providing httpd/apxs locations). [Stas]
In order to make Apache-Test compatible with the rest of Perl testing
frameworks, we no longer chdir into t/, but run from the root of the
project (where t/ resides). A test needing to know where it's running
from (e.g. to read/write files/dirs on the filesystem), should do that
relative to the serverroot, documentroot and other server
configuration variables, available via
Apache::Test::vars('serverroot'), Apache::Test::vars('documentroot'),
etc. [Stas]
Apache::Test::vars() can now query for config arguments [Stas]
generate t/conf if it does not already exist, which
it may not if the tests are entirely autoconfigured.
[Geoffrey Young]
Special to Apache-Test environment variables:
APXS APACHE APACHE_GROUP APACHE_USER APACHE_PORT
are now moved to:
APACHE_TEST_APXS APACHE_TEST_HTTPD APACHE_TEST_GROUP
APACHE_TEST_USER APACHE_TEST_PORT
respectively, for consistency with other APACHE_TEST_ env vars and in
order not to interfere with other projects that may use the same env
vars. [Stas]
if $self-{reconfigure} is true, make sure to perform a complete
reconfiguration, to solve the bug where conf.in files weren't reparsed
and vhost hostport info was getting lost on subsequent runs when
APACHE env var was set (one of the cases when $self-{reconfigure} is
true). [Stas]
handle Include conf/*conf cases when inheriting httpd.conf in a
cleaner way, don't complain that *conf doesn't exist, since it's a
glob pattern. Instead check try to resolve the base directory. [Stas]
import the Apache::TestMM clean target in Makefile.PL so 'make clean'
will call t/TEST -clean [Stas]
fix have_apache_version(), have_min_apache_version(), and
have_min_module_version() to use proper numeric version strings
in comparisons.  thanks to Rafael Garcia-Suarez for the spot.
[Geoffrey Young]
fix Apache::TestConfig::which to check that the found file is a plain
file [Stas]
implementing custom interactive and non-interactive (with the -save
option) reusable configuration for -httpd, -apxs, -user, -group, and
-port [Randy Kobes, Stas]
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Philippe M. Chiasson
On Mon, 2004-02-23 at 16:53 -0800, Stas Bekman wrote:
 We would like to release Apache::Test 1.08. It includes multiple changes and 
 improvements, therefore we need your help to test it and report any problems 
 you may have noticed.

All tests successful : 
 + Linux-2.6
 + Linux-2.4
 + OpenBSD 3.4 (IPv4)
 + OpenBSD 3.4 (IPv6)

 http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz
 
 Thanks.
 
 [...]
 
 __
 Stas BekmanJAm_pH -- Just Another mod_perl Hacker
 http://stason.org/ mod_perl Guide --- http://perl.apache.org
 mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
 http://modperlbook.org http://apache.org   http://ticketmaster.com


signature.asc
Description: This is a digitally signed message part


Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Andrew Wyllie
On Monday, Feb 23, 2004, at 20:04 US/Eastern, Philippe M. Chiasson 
wrote:

On Mon, 2004-02-23 at 16:53 -0800, Stas Bekman wrote:
We would like to release Apache::Test 1.08. It includes multiple 
changes and
improvements, therefore we need your help to test it and report any 
problems
you may have noticed.
All tests successful :
 + Linux-2.6
 + Linux-2.4
 + OpenBSD 3.4 (IPv4)
 + OpenBSD 3.4 (IPv6)
All tests successful:
+ FreeBSD 5.2.1 (IPv4 and IPv6)
Thanks!
Andrew

http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz
Thanks.
[...]
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com
signature.asc



Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Christopher H. Laco
On Mon, 2004-02-23 at 16:53 -0800, Stas Bekman wrote:
We would like to release Apache::Test 1.08. It includes multiple changes 
and
improvements, therefore we need your help to test it and report any 
problems
you may have noticed.
All tests successful :
 + Linux-2.6
 + Linux-2.4
 + OpenBSD 3.4 (IPv4)
 + OpenBSD 3.4 (IPv6)
All tests successful:
+ FreeBSD 5.2.1 (IPv4 and IPv6)
Thanks!
Andrew
All tests successful:
+ FreeBSD 4.9-STABLE
However, 'make' was a little cranky about pod2man:
[EMAIL PROTECTED] ~/Apache-Test-1.08-dev] $ make
mkdir blib
mkdir blib/lib
mkdir blib/lib/Apache
cp lib/Apache/TestUtil.pm blib/lib/Apache/TestUtil.pm
cp lib/Apache/TestHandler.pm blib/lib/Apache/TestHandler.pm
cp lib/Apache/TestClient.pm blib/lib/Apache/TestClient.pm
cp lib/Apache/TestSmoke.pm blib/lib/Apache/TestSmoke.pm
cp lib/Apache/Test.pm blib/lib/Apache/Test.pm
cp lib/Apache/TestSort.pm blib/lib/Apache/TestSort.pm
cp lib/Apache/TestRunPerl.pm blib/lib/Apache/TestRunPerl.pm
cp lib/Apache/TestConfigPerl.pm blib/lib/Apache/TestConfigPerl.pm
cp lib/Apache/TestCommon.pm blib/lib/Apache/TestCommon.pm
cp lib/Apache/TestRequest.pm blib/lib/Apache/TestRequest.pm
cp lib/Apache/Test5005compat.pm blib/lib/Apache/Test5005compat.pm
cp lib/Apache/TestCommonPost.pm blib/lib/Apache/TestCommonPost.pm
cp lib/Apache/TestReportPerl.pm blib/lib/Apache/TestReportPerl.pm
cp lib/Apache/TestTrace.pm blib/lib/Apache/TestTrace.pm
cp lib/Apache/TestConfigData.pm blib/lib/Apache/TestConfigData.pm
cp lib/Apache/TestBuild.pm blib/lib/Apache/TestBuild.pm
cp lib/Apache/TestConfigParse.pm blib/lib/Apache/TestConfigParse.pm
cp lib/Apache/TestSmokePerl.pm blib/lib/Apache/TestSmokePerl.pm
cp lib/Apache/TestHarness.pm blib/lib/Apache/TestHarness.pm
cp lib/Apache/TestRun.pm blib/lib/Apache/TestRun.pm
cp lib/Apache/TestConfig.pm blib/lib/Apache/TestConfig.pm
cp lib/Apache/TestSSLCA.pm blib/lib/Apache/TestSSLCA.pm
cp lib/Apache/TestServer.pm blib/lib/Apache/TestServer.pm
cp lib/warnings.pm blib/lib/warnings.pm
cp lib/Apache/TestConfigC.pm blib/lib/Apache/TestConfigC.pm
cp lib/Apache/TestPerlDB.pm blib/lib/Apache/TestPerlDB.pm
cp lib/Apache/TestMM.pm blib/lib/Apache/TestMM.pm
cp lib/Bundle/ApacheTest.pm blib/lib/Bundle/ApacheTest.pm
cp lib/Apache/TestReport.pm blib/lib/Apache/TestReport.pm
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Apache
mkdir blib/arch/auto/Apache/Test
mkdir blib/lib/auto/Apache
mkdir blib/lib/auto/Apache/Test
mkdir blib/man3
Manifying blib/man3/Apache::TestUtil.3
Manifying blib/man3/Apache::TestSmoke.3
Manifying blib/man3/Apache::TestTrace.3
Manifying blib/man3/Apache::Test.3
Manifying blib/man3/Apache::TestRun.3
Manifying blib/man3/Apache::TestRequest.3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 178 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 181 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 183 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 185 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 187 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 189 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 191 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 193 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 196 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 198 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 200 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 202 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 204 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 206 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 208 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 211 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 213 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 215 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 217 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 219 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 221 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 223 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod directive in paragraph 228 of 
lib/Apache/TestRequest.pm: head3
/usr/bin/pod2man: Unrecognized pod 

Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Stas Bekman
Christopher H. Laco wrote:
Thanks Christopher,
All tests successful:
+ FreeBSD 4.9-STABLE
However, 'make' was a little cranky about pod2man:
[EMAIL PROTECTED] ~/Apache-Test-1.08-dev] $ make

/usr/bin/pod2man: Unrecognized pod directive in paragraph 178 of 
lib/Apache/TestRequest.pm: head3
What kind of pod2man is that? what perl version? All modern perls support more 
than head[12].

/usr/bin/pod2man: Invalid man page - 1st pod line is not NAME in 
lib/Apache/TestReport.pm
Couldn't install blib/man3/Apache::TestReport.3
That is now fixed in cvs. Thanks.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread David Wheeler
On Feb 23, 2004, at 4:53 PM, Stas Bekman wrote:
We would like to release Apache::Test 1.08. It includes multiple 
changes and improvements, therefore we need your help to test it and 
report any problems you may have noticed.

http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz
Thanks.
All tests successful.
perl v5.8.3 built for darwin-2level
Regards,
David


Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Christopher H. Laco
What kind of pod2man is that? what perl version? All modern perls support 
more than head[12].
An therein lies the fun: it's the stock 5.005_3 perl included in the base OS 
install.

I know I should upgrade, but I just can't break the 
if-it-aint-broke-dont-fix-it-rule just yet. :-)

-=Chris
_
Get a FREE online computer virus scan from McAfee when you click here. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Stas Bekman
Christopher H. Laco wrote:
What kind of pod2man is that? what perl version? All modern perls 
support more than head[12].

An therein lies the fun: it's the stock 5.005_3 perl included in the 
base OS install.

I know I should upgrade, but I just can't break the 
if-it-aint-broke-dont-fix-it-rule just yet. :-)
% perl-5.005_03 -MCPAN -e 'install(shift)' Pod::Man
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Geoffrey Young


Stas Bekman wrote:
 We would like to release Apache::Test 1.08. It includes multiple changes
 and improvements, therefore we need your help to test it and report any
 problems you may have noticed.
 
 http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz

I'm getting a strange error from 5.6.1 where no mod_perl is installed.

$ /perl/perl-5.6.1/bin/perl Makefile.PL -apxs
/apache/2.1/prefork/noperl/bin/apxs
Useless use of a constant in void context at
Apache-Test/lib/Apache/TestRun.pm line 1196.

strangely, the attached patch fixes things.

--Geoff
Index: Apache-Test/lib/Apache/TestRun.pm
===
RCS file: 
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
retrieving revision 1.152
diff -u -r1.152 TestRun.pm
--- Apache-Test/lib/Apache/TestRun.pm   19 Feb 2004 19:52:52 -  1.152
+++ Apache-Test/lib/Apache/TestRun.pm   24 Feb 2004 17:04:15 -
@@ -1193,7 +1193,8 @@
 
 # mod_perl 2.0 build always knows the right httpd location (and
 # optionally apxs)
-$vars_must_overriden++ if Apache::TestConfig::IS_MOD_PERL_2_BUILD();
+my $mp2 =  Apache::TestConfig::IS_MOD_PERL_2_BUILD();
+$vars_must_overriden++ if $mp2;
 
 unless ($vars_must_overriden) {
 for (@data_vars_must) {


RE: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread Thella, Rita
I ran into following error messages with perl 5.8.0



$ perl Makefile.PL -apxs /opt/hpws/apache/bin/apxs
Useless use of a constant in void context at lib/Apache/TestRun.pm line 1196.
Compilation failed in require at lib/Apache/TestConfig.pm line 36.
BEGIN failed--compilation aborted at lib/Apache/TestConfig.pm line 36.
Compilation failed in require at lib/Apache/TestMM.pm line 7.
BEGIN failed--compilation aborted at lib/Apache/TestMM.pm line 7.
Compilation failed in require at Makefile.PL line 16.
BEGIN failed--compilation aborted at Makefile.PL line 16.

Thanks,
Rita

-Original Message-
From: Geoffrey Young [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 9:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [ANNOUNCE] Apache::Test 1.08 RC1




Stas Bekman wrote:
 We would like to release Apache::Test 1.08. It includes multiple changes
 and improvements, therefore we need your help to test it and report any
 problems you may have noticed.
 
 http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz

I'm getting a strange error from 5.6.1 where no mod_perl is installed.

$ /perl/perl-5.6.1/bin/perl Makefile.PL -apxs
/apache/2.1/prefork/noperl/bin/apxs
Useless use of a constant in void context at
Apache-Test/lib/Apache/TestRun.pm line 1196.

strangely, the attached patch fixes things.

--Geoff


Re: [ANNOUNCE] Apache::Test 1.08 RC1

2004-02-24 Thread William McKee
On Mon, Feb 23, 2004 at 04:53:48PM -0800, Stas Bekman wrote:
 We would like to release Apache::Test 1.08. It includes multiple changes 
 and improvements, therefore we need your help to test it and report any 
 problems you may have noticed.

I did not see an INSTALL file so did the usual `perl Makefile.PL`. This
command gave the following output:

  Useless use of a constant in void context at lib/Apache/TestRun.pm line
  1196.
  Compilation failed in require at lib/Apache/TestConfig.pm line 36.
  BEGIN failed--compilation aborted at lib/Apache/TestConfig.pm line 36.
  Compilation failed in require at lib/Apache/TestMM.pm line 7.
  BEGIN failed--compilation aborted at lib/Apache/TestMM.pm line 7.
  Compilation failed in require at Makefile.PL line 16.
  BEGIN failed--compilation aborted at Makefile.PL line 16.


Platform: Debian Sarge (testing)
Perl: 5.8.2


Thanks,
William

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