Apache-Test
view release on metacpan or search on metacpan
=head1 NAME
Changes - Apache::Test change logfile
=head1 CHANGES
=over 3
=item 1.43 Nov 7 2021
Our implementation of "which" should not search
for a program in the elements of PATH when program
already contains a path. [rjung]
Fix hash generation when the openssl command
was overwritten with the environment variable
"APACHE_TEST_OPENSSL_CMD". [rjung]
Add new config option limitrequestline needed
when the local directory paths are long. [rjung]
=item 1.42 Aug 28 2019
Fix loading apache_test_config.pm for recent perls in which '.' is
no longer in @INC by default. [Steve Hay]
=item 1.41 Jul 11 2019
Set DefaultStateDir for > 2.5.1 and add -t_state to override. [jorton]
Inherit config via IncludeOptional as well as Include. [jorton]
Increase size of MinSpare, MaxSpare and MaxClients to improve httpd test
framework runs with worker and preform MPMs. [rjung]
Changed the openssl version detection to work with other *SSL libraries.
[icing]
Switch test framework from using Net::SSL for
raw TLS sockets to IO::Socket::SSL. [rjung]
Fix mod_ssl tests under OpenSSL 1.1.1 / TLSv1.3. [jorton]
Add cwd to generated lib path in TEST script since Perl >=5.26 don't
do that any more. [jorton]
Override loglevel to trace8 if running in 2.4. [covener]
Allow an empty PREFIX. [sf]
Add need_min_apache_fix(). [covener]
=item 1.40 Sep 6 2016
Specify licence (Apache 2.0) in META.yml. [Steve Hay, CPAN RT#111359]
Fix broken POD. [Steve Hay]
Switch argument order in "openssl gendsa". [rjung]
Add (limited) checks for *_SAN_*_n and *_DN_Email variables. [kbrand]
Update key sizes and message digest to what is common in 2015. [kbrand]
=item 1.39 Apr 21 2015
Test scripts can now test if perl has a fork() implementation available by
using the Apache::Test::need_fork() function. [Steve Hay]
CPAN RT#87620: Add -D APACHE2_4 to identify httpd-2.4. [Michael Schout]
=item 1.38 Aug 6 2012
Fix log_watch.t on Windows, which can't (naturally) delete open files.
[Steve Hay]
Fix t_filepath_cmp, t_catfile and t_catfile_apache in Apache::TestUtil on
Windows: their use of Win32::GetLongPathName() was broken for non-existent
files. [Steve Hay]
Remove use of Nullsv as per modperl commit 1362399. [Steve Hay]
have Apache::TestConfigPerl::configure_inc set up @INC to include
../blib/lib and ../blib/arch if they exist. The bundled Apache::Reload
may fail to load Apache2::Const & co otherwise when testing.
[Torsten Foertsch]
=item 1.37 January 29, 2012
Apache::TestRequest: improve compatibility for SSL requests with LWP 6 and
IO::Socket::SSL, in particular [Kaspar Brand]
As of httpd revision 1053230 (version 2.3.11) the NameVirtualHost directive
became superfluous and a warning is issued when it is met. So, Apache::Test
now wraps NameVirtualHost directives in <IfVersion> blocks.
[Kaspar Brand]
Add comments about the source files of auto configurated tests to
the generated httpd.conf and improve indentation a bit. [Torsten Foertsch]
Run t/TEST tests by default in alphabetical order and
only t/SMOKE tests by default in random order. [Rainer Jung]
Add t_file_watch_for to Apache::TestUtil [Torsten Foertsch]
Add $boolean parameter to Apache::TestHandler::ok and Apache::TestHandler::ok1
Add a few bits of documentation [Torsten Foertsch]
Apache::TestHandler forgot to require Apache2::RequestRec [Torsten Foertsch]
=item 1.36 February 2, 2011
Skip sok.t unless perlio is enabled [Torsten Foertsch]
Deprecate t/TEST -times=X in favor of t/SMOKE -times=X. Changes to
TAP::Harness have removed the ability to re-use test object attributes.
Also generate t/SMOKE on build now, instead of requiring the user to build it.
Thanks to Jim Jagielski for the spot on the -times=X issue on t/TEST.
[Fred Moyer]
platforms, where a process scheduler tries to re-use the pids that
were just freed, which may have killed a valid process which is not
even Apache.exe. So we try not to rely on that file, and if the server
wasn't properly stopped and still running, users will learn about
that, since the port will be busy, and Apache will fail to
start. Users have to kill it manually. TestSmoke is no longer using an
explicit kill `cat httpd.pid` to stop Apache, but delegates the
stopping procedure to TestRun [Steve Hay, Randy Kobes]
use IPC::Run3 in Apache::TestSmoke to run t/TEST commands,
so as t/SMOKE can be used on Win32 [Stas, Steve Hay, Randy Kobes]
place mod_perl-specific directives in <IfModule> containers
within httpd.conf, allowing the default server to start if
mod_perl isn't present. [Geoffrey Young]
fix t/request.t to get /index.html, instead of / since not everybody
uses mod_dir [Steve Piner <stevep@marketview.co.nz>]
when testing whether Apache started as root and running under 'nobody'
or alike, will be able to -r/-w/-x in t/ use 'su' instead of 'sudo',
the latter is not available on all unix platforms. [Vivek Khera
<khera@kcilink.com>]
in the Apache/test.pm nuke code s/PERLRUN/FULLPERL/ as older MakeMaker
doesn't have the PERLRUN target [Stas]
Apache 1.3 servers now run in standard prefork mode under
normal operation. single server mode (httpd -X) was replaced
with MaxClients set to 1 by default. [Geoffrey Young]
=item 1.04 - September 29, 2003
if the server stops reading from the client before it has sent all its
data, Apache::TestClient (which is used when LWP is not available)
would just die without any error message (5.8.1) because no SIGPIPE
handler was setup and the Broken Pipe error was missed. Replacing
'print $s' with $s->send() solves this problem: Apache::TestClient
will just move on without bailing out. [Stas]
if env var APACHE_TEST_PRETEND_NO_LWP is true, Apache::Test will
pretend that LWP is not available. useful for testing whether the test
suite will survive on a system which doesn't have libwww-perl
installed. [Stas]
Apache::TestSmoke provides a new mode: -bug_mode, which runs an
equivalent of plain 't/TEST' but generates a lot of useful debug
information, in addition to matching the core files to the tests that
caused them. [Stas]
Apache::TestSmoke now scans for core files, just like Apache::TestRun
does [Stas]
Allow the creation of name based virtual hosts by supplying
<VirtualHost servername:module> containers in .conf.in$ files.
[André Malo]
fix Apache::TestSSLCA to generate a separate index.txt file for each
module, as on certain platforms openssl fails to re-use the same
file. [Stas]
remove the unused example section from t/conf/extra.conf.in, it made
an assumption that mod_auth is available [Stas]
in the autogenerated t/conf/httpd.conf include mod_alias and mod_mime
loading, in case they were built as a shared object and wasn't loaded
from the system-wide httpd.conf from which Apache::Test inherits the
config. [Stas]
added have_apache_mpm() function [Geoffrey Young]
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. [Stas]
when the tests are run in the 'root' mode, check whether the
DocumentRoot and its parent dirs are rwx before the tests are run and
suggest possible workarounds when the tests are doomed to fail,
because of the permission issues. [Stas]
UPLOAD is now auto-exported, like the rest [David Wheeler
<david@kineticode.com>]
Change the way the redirect_ok parameter works so that it affects only
_that call_ to the function. Afterward it should revert to the old
value of $RedirectOK. [David Wheeler <david@kineticode.com>]
Change user_agent() so that the LWP::UserAgent "requests_redirectable"
parameter actually does something useful vis-à-vis $RedirectOK. [David
Wheeler <david@kineticode.com>]
Apache::TestRequest API documenation [David Wheeler
<david@kineticode.com>]
Enable TransferLog in the autogenerated httpd.conf only if
mod_log_config is available [Stas]
=item 1.03 - June 19, 2003
Instrumented Makefile.PL to unconditionally remove any old
pre-installed occurrences of Apache/test.pm, which has been renamed to
Apache/testold.pm in mod_perl 1.28 to avoid collisions with
Apache/Test.pm on case-insensitive systems. [Stas]
Apache::TestClient now handles correctly responses with no body and
its response header() method is no longer case-sensitive [Stas]
add skip helper shortcuts: have_min_perl_version,
have_min_module_version [Stas]
pass to 'use lib' only 'lib/' dirs that actually exist in
autogenerated t/TEST t/SMOKE and others. [Stas]
add the ASF LICENSE file to the distro [Stas]
get rid of Apache::TestTrace's dependency on Apache::TestConfig as it
( run in 0.923 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )