Using the attached patch (generated with git diff not svn, sorry) all
the tests pass.
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl
/local/aprime/Apache-Test-1.31-rc2/t/TEST -bugreport -verbose=0
/usr/local/prefork/bin/httpd -d /local/aprime/Apache-Test-1.31-rc2/t -f
/local/aprime/Apache-Test-1.31-rc2/t/conf/httpd.conf -D APACHE2 -D
PERL_USEITHREADS
using Apache/2.2.10 (prefork MPM)
waiting 60 seconds for server to start: .
waiting 60 seconds for server to start: ok (waited 0 secs)
server localhost:8529 started
t/bad_coding.............ok
t/cookies................ok
t/next_available_port....skipped: (no reason given)
t/ping...................ok
t/redirect...............ok
t/request................ok
All tests successful.
Files=6, Tests=21, 2 wallclock secs ( 0.02 usr 0.02 sys + 1.57 cusr
0.23 csys = 1.84 CPU)
Result: PASS
[warning] server localhost:8529 shutdown
Fred Moyer wrote:
On Tue, Feb 9, 2010 at 10:20 AM, Adam Prime <adam.pr...@utoronto.ca> wrote:
I get the following when trying to run make test:
waiting 60 seconds for server to start: .Syntax error on line 73 of
/local/aprime/Apache-Test-1.31-rc1/t/conf/httpd.conf:
Invalid command '<IfVersion', perhaps misspelled or defined by a module not
Can you try this patch?
Index: lib/Apache/TestConfig.pm
===================================================================
--- lib/Apache/TestConfig.pm (revision 908140)
+++ lib/Apache/TestConfig.pm (working copy)
@@ -2682,9 +2682,11 @@
</Directory>
<IfModule @THREAD_MODULE@>
+<IfModule mod_version.c>
<IfVersion < 2.3.4>
LockFile @t_logs@/accept.lock
</IfVersion>
+</IfModule>
StartServers 1
MinSpareThreads @MinClients@
MaxSpareThreads @MinClients@
included in the server configuration
[ error]
server has died with status 255 (t/logs/error_log wasn't created, start the
server in the debug mode)
sh: line 1: 32276 Terminated /usr/bin/perl
/local/aprime/Apache-Test-1.31-rc1/t/TEST -bugreport -verbose=0
make: *** [run_tests] Error 143
Presumably because apache is compiled without mod_version (which is the
default)
Adam
Fred Moyer wrote:
Greetings,
Please, download, test, and report back on success or failure for this
Apache::Test release candidate.
Development from 1.30 has been ongoing for about two years, so this is
as good a time as ever to make a release.
http://people.apache.org/~phred/Apache-Test-1.31-rc1.tar.gz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org
diff --git a/lib/Apache/TestConfig.pm b/lib/Apache/TestConfig.pm
index 5f0f8e5..09ab591 100644
--- a/lib/Apache/TestConfig.pm
+++ b/lib/Apache/TestConfig.pm
@@ -2682,9 +2682,11 @@ HostnameLookups Off
</Directory>
<IfModule @THREAD_MODULE@>
+<IfModule mod_version.c>
<IfVersion < 2.3.4>
LockFile @t_logs@/accept.lock
</IfVersion>
+</IfModule>
StartServers 1
MinSpareThreads @MinClients@
MaxSpareThreads @MinClients@
@@ -2694,9 +2696,11 @@ HostnameLookups Off
</IfModule>
<IfModule perchild.c>
+<IfModule mod_version.c>
<IfVersion < 2.3.4>
LockFile @t_logs@/accept.lock
</IfVersion>
+</IfModule>
NumServers 1
StartThreads @MinClients@
MinSpareThreads @MinClients@
@@ -2706,9 +2710,11 @@ HostnameLookups Off
</IfModule>
<IfModule prefork.c>
+<IfModule mod_version.c>
<IfVersion < 2.3.4>
LockFile @t_logs@/accept.lock
</IfVersion>
+</IfModule>
StartServers @MinClients@
MinSpareServers @MinClients@
MaxSpareServers @MinClients@
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org