You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by el...@apache.org on 2017/11/26 11:56:28 UTC
svn commit: r1816380 - /httpd/test/framework/trunk/t/modules/rewrite.t
Author: elukey
Date: Sun Nov 26 11:56:27 2017
New Revision: 1816380
URL: http://svn.apache.org/viewvc?rev=1816380&view=rev
Log:
rewrite.t: add tests for 2.4.30 after r1815100
Modified:
httpd/test/framework/trunk/t/modules/rewrite.t
Modified: httpd/test/framework/trunk/t/modules/rewrite.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/rewrite.t?rev=1816380&r1=1816379&r2=1816380&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/rewrite.t (original)
+++ httpd/test/framework/trunk/t/modules/rewrite.t Sun Nov 26 11:56:27 2017
@@ -25,7 +25,7 @@ if (!have_min_apache_version('2.4')) {
}
# Specific tests for PR 58231
-my $vary_header_tests = (have_min_apache_version("2.5") ? 9 : 0) + (have_min_apache_version("2.4.29") ? 4 : 0);
+my $vary_header_tests = (have_min_apache_version("2.4.30") ? 9 : 0) + (have_min_apache_version("2.4.29") ? 4 : 0);
plan tests => @map * @num + 16 + $vary_header_tests, todo => \@todo, need_module 'rewrite';
@@ -137,7 +137,7 @@ if (have_min_apache_version("2.4.29")) {
ok t_cmp($r->header("Vary"), qr/(?!.*Host.*)/, "Vary:Host header not added, OK");
}
-if (have_min_apache_version("2.5")) {
+if (have_min_apache_version("2.4.30")) {
# PR 58231: Vary header added when a condition evaluates to true and
# the RewriteRule happens in a directory context.
$r = GET("/modules/rewrite/vary3.html", "User-Agent" => "directory-agent");