Checkout Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
property cleanup

  1. … 706 more files in changeset.
move the custom config code into Apache::TestConfig, split the config

object creation in 2 parts - first not requiring the knowledge of

httpd location, the second requiring one, refactor the custom config

interactive prompting into the second phase, if failed to find

httpd. Reshuffle the code to run first bits not requiring the

knowledge of httpd location.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 5 more files in changeset.
Reviewed by: stas

adjust @INC so as to add a directory t/lib, if it exists,

when running the tests.

  1. … 2 more files in changeset.
change write_pm_test() so that it allows multi-level directories.

for example:

t/response/TestFoo/bar.pm => t/foo/bar.t # nothing changed

t/response/TestFoo/Bar/baz.pm => t/foo/bar.t # old behavior

t/response/TestFoo/Bar/baz.pm => t/foo/bar/baz.t # new behavior, DWIMmy

prevent 'Empty compile time value given to use lib' warnings

Since some of the inherited from the global httpd.conf modules require

mod_perl to be loaded first, orrange for that to happen.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 2 more files in changeset.
In an attempt to reduce the number of test failures on systems supporting

IPv6 with ipv4-mapped addresses disabled, generated Listen directive now

listen on 0.0.0.0 to force using IPv4 addresses on IPv6 systems until LWP

supports IPv6.

  1. … 2 more files in changeset.
Apache::TestRunPerl now performs an early check whether it can load

the right mod_perl environment.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 2 more files in changeset.
Updated to the new Apache License Version 2.0

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 28 more files in changeset.
Instead of hard-coding listen directive to 127.0.0.1, use the server

name.

PR:

Obtained from:

Submitted by:

Reviewed by: stas

  1. … 2 more files in changeset.
Hard-code listen directive to 127.0.0.1, solving problems for people

with IPv4 & IPv6 address until a better solution is found

PR:

Obtained from:

Submitted by:

Reviewed by: stas

  1. … 3 more files in changeset.
rename the function select_port, which does different things in different

modules, to be select_first_port and select_next_port

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 2 more files in changeset.
make sure that mod_perl.so is cached once found so that

have_module('mod_perl.c') works as expected for DSO installs

Reviewed by: stas

extra protection

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 1 more file in changeset.
in the autogenerated t/conf/modperl_inc.pl don't add the project/lib

directory, unless a special env var APACHE_TEST_LIVE_DEV is true. This

is because some projects change things in project/blib and pushing

project/lib on top of @INC, breaks the test suite for them

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 1 more file in changeset.
place mod_perl-specific directives in <IfModule> containers

within httpd.conf, allowing the default server to start if

mod_perl isn't present.

  1. … 1 more file in changeset.
allow the creation of name based virtual hosts from .conf.in files.

If you supply <VirtualHost servername:module> sections it will open

just one port and insert proper NameVirtualHost and ServerName directives

into the conf.

Reviewed by: Stas

  1. … 2 more files in changeset.
when moving test-specific config directives from __DATA__ to

httpd.conf don't use hash, or the order of arguments is not

preserved. Thanks to perl-5.8.1 for randomizing the hash seed, which

has exposed the bug by breaking the test suite.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 2 more files in changeset.
introduce a new env var APACHE_TEST_TRACE_LEVEL, to override the trace

level. Propogate the overriden values (either by env var

APACHE_TEST_TRACE_LEVEL or -trace option) to the server-side, so we

can use tracing in the handlers, and enable disable traces from the

commmand line. This way we don't have to comment out debug

tracing.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 3 more files in changeset.
improved support for 3rd party modules test configuration setup:

automatically add 'use Apache2' in the startup file for mod_perl 2.0.

PR:

Obtained from:

Submitted by:

Reviewed by:

new configuration option: -libmodperl [path/to/]mod_perl.so (so one

can build several DSO objects, rename them, so several builds can

co-exist under the same LIBEXECDIR and test them all. Mainly useful

for testing 3rd party modules, with different mod_perl DSO builds.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 3 more files in changeset.
more fixes for httpd.conf pickup of modperl.so/libperl.so for mod_perl 1.x

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 4 more files in changeset.
Apache::Test: provide a new request macro _BODY_ASSERT to replace

_BODY in cases where the client part of the test directly prints to

the output, in order to avoid skipped tests instead of reporting the

failure of the server side. Use it in automatically generated

tests.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 1 more file in changeset.
httpd (1.3 && 2) / winFU have problems when the first path's segment

includes ':' (security precaution which breaks the rfc) so we can't

use /TestFoo::bar as path_info in Apache::Test. Adjusting all tests

to use /TestFoo__bar.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 1 more file in changeset.
a minor fix and more problems to resolve

PR:

Obtained from:

Submitted by:

Reviewed by:

- don't LoadModule mod_perl.so when it wasn't built against the used

version of perl

- prepare some comments for the future handling of static builds and

automatic mod_perl 1.0 so location

Fix errors during configuration due to parse_vhost returning undef.

Reviewed and rewritten by: Stas Bekman

separate the noautoconfig section with a newline from the next section

PR:

Obtained from:

Submitted by:

Reviewed by:

Apache::Test: Support <NoAutoConfig> </NoAutoConfig> blocks in .pm

files, so we can have a full manual control over generated config

sections. These sections are fully parsed and variables are

substituted, including vhosts.

PR:

Obtained from:

Submitted by:

Reviewed by:

refactor the code that parses and rewrites the config sections, to use

recursive functions. the benefit is that <base> sections are now parsed

as well and a lot of clutter was removed.

also we now indent 4 all the config sections

PR:

Obtained from:

Submitted by:

Reviewed by: