You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2004/06/27 17:33:31 UTC

[apreq-2] env/t/big_request.t

With the current cvs, the env/t/big_request.t test
is skipped completely if ssl isn't available. This diff:
=======================================================
Index: env/t/big_request.t
===================================================================
RCS file: /home/cvs/httpd-apreq-2/env/t/big_request.t,v
retrieving revision 1.2
diff -u -r1.2 big_request.t
--- env/t/big_request.t	13 Jun 2004 17:37:40 -0000	1.2
+++ env/t/big_request.t	27 Jun 2004 15:28:06 -0000
@@ -16,7 +16,7 @@

 my $num_tests = @key_len * @key_num + @big_key_len * @big_key_num;
 $num_tests *= 2 if Apache::Test::have_ssl();
-plan tests => $num_tests, Apache::Test::have_ssl();
+plan tests => $num_tests, have_lwp;

 my $location = "/apreq_big_request_test";
 my $scheme = 'http';

==========================================================
runs it under http, and skips rerunning it if ssl
isn't available (as env/t/request.t does).

-- 
best regards,
randy

Re: [apreq-2] env/t/big_request.t

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Randy Kobes <ra...@theoryx5.uwinnipeg.ca> writes:

> With the current cvs, the env/t/big_request.t test
> is skipped completely if ssl isn't available. This diff:
> =======================================================
> Index: env/t/big_request.t
> ===================================================================
> RCS file: /home/cvs/httpd-apreq-2/env/t/big_request.t,v
> retrieving revision 1.2
> diff -u -r1.2 big_request.t
> --- env/t/big_request.t	13 Jun 2004 17:37:40 -0000	1.2
> +++ env/t/big_request.t	27 Jun 2004 15:28:06 -0000
> @@ -16,7 +16,7 @@
> 
>  my $num_tests = @key_len * @key_num + @big_key_len * @big_key_num;
>  $num_tests *= 2 if Apache::Test::have_ssl();
> -plan tests => $num_tests, Apache::Test::have_ssl();
> +plan tests => $num_tests, have_lwp;
> 
>  my $location = "/apreq_big_request_test";
>  my $scheme = 'http';
> 
> ==========================================================
> runs it under http, and skips rerunning it if ssl
> isn't available (as env/t/request.t does).

+1
-- 
Joe Schaefer