You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2020/03/24 22:31:04 UTC

svn commit: r1875598 - /httpd/test/framework/trunk/Makefile.PL

Author: rjung
Date: Tue Mar 24 22:31:04 2020
New Revision: 1875598

URL: http://svn.apache.org/viewvc?rev=1875598&view=rev
Log:
Temporary workaround for setting LimitRequestLine
until Apache::Test gets a new release.

I introduced the new variable limitrequestline in
Apache::TestConfig in r1875568.
It gets used in extra.conf.in and limit.t since
r1875569 (as well as the related limitrequestlinex2).

Modified:
    httpd/test/framework/trunk/Makefile.PL

Modified: httpd/test/framework/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/Makefile.PL?rev=1875598&r1=1875597&r2=1875598&view=diff
==============================================================================
--- httpd/test/framework/trunk/Makefile.PL (original)
+++ httpd/test/framework/trunk/Makefile.PL Tue Mar 24 22:31:04 2020
@@ -22,6 +22,19 @@ finddepth(sub {
 
 Apache::TestMM::filter_args();
 
+# Temporary workaround to allow passing
+# arguments to "perl Makefile.PL"
+# that should go to t/TEST but are not yet
+# supported in an Apache::Test release.
+# Code borrowed from Apache::TestMM::filter_args().
+my %local_args = (
+    limitrequestline => 'Value for LimitRequestLine',
+    limitrequestlinex2 => 'Twice the value for LimitRequestLine',
+);
+my($argv, $vars) = Apache::TestConfig::filter_args(\@ARGV, \%local_args);
+@ARGV = @$argv;
+push(@Apache::TestMM::Argv, %$vars);
+
 for my $script (@scripts) {
     Apache::TestMM::generate_script($script);
 }