httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William A Rowe Jr <wr...@rowe-clan.net>
Subject Re: svn commit: r1775186 - /httpd/test/framework/trunk/t/apache/http_strict.t
Date Tue, 20 Dec 2016 17:22:02 GMT
On Mon, Dec 19, 2016 at 4:20 PM, <rjung@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?

Mime
View raw message