You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2013/02/08 19:21:19 UTC

svn commit: r1444178 - in /httpd/test/framework/trunk/t/apache: http_strict.t server_name_port.t

Author: jim
Date: Fri Feb  8 18:21:18 2013
New Revision: 1444178

URL: http://svn.apache.org/r1444178
Log:
Avoid running tests which test trunk only features...

Modified:
    httpd/test/framework/trunk/t/apache/http_strict.t
    httpd/test/framework/trunk/t/apache/server_name_port.t

Modified: httpd/test/framework/trunk/t/apache/http_strict.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/http_strict.t?rev=1444178&r1=1444177&r2=1444178&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/http_strict.t (original)
+++ httpd/test/framework/trunk/t/apache/http_strict.t Fri Feb  8 18:21:18 2013
@@ -113,7 +113,7 @@ my @test_cases = (
     [ "R" . "Location:  ../foo/"        => 500 ],
 );
 
-plan tests => scalar(@test_cases);
+plan tests => scalar(@test_cases), need_min_apache_version('2.5');
 
 foreach my $t (@test_cases) {
     my $req = $t->[0];

Modified: httpd/test/framework/trunk/t/apache/server_name_port.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/server_name_port.t?rev=1444178&r1=1444177&r2=1444178&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/server_name_port.t (original)
+++ httpd/test/framework/trunk/t/apache/server_name_port.t Fri Feb  8 18:21:18 2013
@@ -47,7 +47,7 @@ my @test_cases = (
     [ "http://[::1]:123/",     "[::2]:321"     => 200, '[::1]',     '123'    ],
 );
 
-plan tests => 3 * scalar(@test_cases);
+plan tests => 3 * scalar(@test_cases), need_min_apache_version('2.5');
 
 foreach my $t (@test_cases) {
     my $req = "GET $t->[0]$url_suffix HTTP/1.1\r\nConnection: close\r\n";