On Mon, Dec 19, 2016 at 4:20 PM, <rj...@apache.org> wrote: > 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; > + } >
Does this work in the presence of either cgi and/or cgid?