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 there, and may
not use the httpd version string anyway.

What would be an appropriate way to override the automatically-determined
version when testing with a server based on Apache httpd but without a
version string that is parseable with the current logic?

HTTPD_EQUIV_VERSION_STR="Apache/2.2.19" runtest.sh

or

runtest.sh -httpd_ver "Apache/2.2.19" (and have ApacheTest users pass that
down somehow)

or

(something else)

Thanks for any hints!


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Reply via email to