httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1775186 - /httpd/test/framework/trunk/t/apache/http_strict.t
Date Mon, 19 Dec 2016 22:20:12 GMT
Author: rjung
Date: Mon Dec 19 22:20:12 2016
New Revision: 1775186

URL: http://svn.apache.org/viewvc?rev=1775186&view=rev
Log:
Skip tests that need a cgi module if cgi
is not available.

Modified:
    httpd/test/framework/trunk/t/apache/http_strict.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=1775186&r1=1775185&r2=1775186&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/http_strict.t (original)
+++ httpd/test/framework/trunk/t/apache/http_strict.t Mon Dec 19 22:20:12 2016
@@ -122,6 +122,10 @@ foreach my $t (@test_cases) {
     my $decoded;
 
     if ($req =~ s/^R//) {
+        if (!have_cgi) {
+            skip "Skipping test without CGI module";
+            next;
+        }
         $decoded = $req;
         my $q = encode_base64($decoded);
         chomp $q;



Mime
View raw message