httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1004993 - /httpd/test/framework/trunk/t/modules/negotiation.t
Date Wed, 06 Oct 2010 11:55:43 GMT
Author: rjung
Date: Wed Oct  6 11:55:43 2010
New Revision: 1004993

URL: http://svn.apache.org/viewvc?rev=1004993&view=rev
Log:
Revert r1002165 since the underlying bug has been
fixed in 2.0 head by r1004972. We now want to
test for it even in 2.0:

PR 33112: Fix for query string preservation
after content negotiation.

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=1004993&r1=1004992&r2=1004993&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/negotiation.t (original)
+++ httpd/test/framework/trunk/t/modules/negotiation.t Wed Oct  6 11:55:43 2010
@@ -41,13 +41,8 @@ use Apache::TestUtil;
 my ($en, $fr, $de, $fu, $bu) = qw(en fr de fu bu);
 my @language = ($en, $fr, $de, $fu);
 my $tests = (@language * 3) + (@language * @language * 5) + 7;
-my @todo = ();
 
-my $pr_33112_fix_version = '2.2.15';
-my $check_pr_33112 = have_min_apache_version($pr_33112_fix_version);
-@todo = ($tests) unless $check_pr_33112;
-
-plan tests => $tests, todo => \@todo,
+plan tests => $tests,
     have_module 'negotiation' && have_cgi && have_module 'mime';
 
 my $actual;
@@ -167,13 +162,9 @@ my_chomp();
 ok t_cmp($actual, "index.html.$fr.gz",
          "bu has the highest quality but is non-existant, so fr is next best");
 
-# PR 33112
 $actual = GET_BODY "/modules/negotiation/query/test?foo";
 print "# GET /modules/negotiation/query/test?foo\n";
 my_chomp();
 ok t_cmp($actual, "QUERY_STRING --> foo",
          "The type map gives the script the highest quality;"
          . "\nthe request included a query string");
-if (!$check_pr_33112) {
-    print STDERR "TODO: Fix for query string preservation after content negotiation (PR 33112
not fixed before $pr_33112_fix_version).\n";
-}



Mime
View raw message