You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2019/03/21 12:09:31 UTC

svn commit: r1855982 - /httpd/test/framework/trunk/t/modules/negotiation.t

Author: covener
Date: Thu Mar 21 12:09:31 2019
New Revision: 1855982

URL: http://svn.apache.org/viewvc?rev=1855982&view=rev
Log:
PR39730 added case insensitivity, make test conditional

Submitted By: Petr Gajdos <pgajdos suse.cz>


Modified:
    httpd/test/framework/trunk/t/modules/negotiation.t

Modified: httpd/test/framework/trunk/t/modules/negotiation.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/negotiation.t?rev=1855982&r1=1855981&r2=1855982&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/negotiation.t (original)
+++ httpd/test/framework/trunk/t/modules/negotiation.t Thu Mar 21 12:09:31 2019
@@ -8,7 +8,11 @@ use Apache::TestUtil;
 ## mod_negotiation test (see extra.conf.in)
 
 my ($en, $fr, $de, $fu, $bu, $zh) = qw(en fr de fu bu zh-TW);
-my @language = ($en, $fr, $de, $fu, $zh);
+
+my @language = ($en, $fr, $de, $fu);
+if (have_min_apache_version("2.4.38")) {
+  push @language, $zh;
+}
 
 my @ct_tests = (
     # [ Accept header, Expected response ]