fixing an httpd test which is confused about which modules are loaded in the test conf

2009-10-16 Thread Jeff Trawick
The mod_info test (t/modules/info.t) asks Apache::Test::config() for a list of modules. It then expects each of those modules to be reported by mod_info. But some of those modules are not actually loaded because of modules which are skipped by TestConfigParse.pm #XXX mod_jk requires JkWorkerFile

[PATCH] Apache-Test/lib/Apache/TestConfig.pm compatibility with httpd trunk

2009-12-02 Thread Jeff Trawick
All the old mutex directives were replaced by Mutex. IfVersion == 2.3.4 isn't handled in the patch because of a change to the Mutex syntax in 2.3.5-dev. Note that mod_version is now a dependency for APACHE2. Index: Apache-Test/lib/Apache/TestConfig.pm =

Re: [Fwd: [rt.cpan.org #54476] Skip mod_fcgid.c in Apache::TestConfig (/lib/Apache/TestConfigParse.pm)]

2010-02-10 Thread Jeff Trawick
On Wed, Feb 10, 2010 at 8:31 AM, Stig wrote: > https://rt.cpan.org/Ticket/Display.html?id=54476 > > Hello and Thanks for Apache:Test 1.30, > > If you run the tests as a non root user and the httpd.conf file you > inherit from is using mod_fcgid.c (version 2.1 and above, I'm using > mod_fcgid-2.3.4

getting httpd-equivalent version numbers from servers with non-standard version strings

2013-12-01 Thread Jeff Trawick
httpd_version() in TestConfigParse.pm calls "httpd -v" to get the version string, and it needs to find "Apache/x.y.z" in the right place so that other code will be happy. (E.g., need_min_apache_version and need_apache_version in Test.pm) Servers based on Apache httpd may not say "Apache" at all t