You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by pg...@apache.org on 2006/09/17 12:01:54 UTC

svn commit: r447028 - in /httpd/apreq/trunk/module/t: big_request.t cgi.t cookie.t request.t

Author: pgollucci
Date: Sun Sep 17 03:01:53 2006
New Revision: 447028

URL: http://svn.apache.org/viewvc?view=rev&rev=447028
Log:
s/have_lwp/need_lwp/g
s/have_cgi/need_cgi/

So that a nice message is printed when the test is skipped because
of these dependencies


Modified:
    httpd/apreq/trunk/module/t/big_request.t
    httpd/apreq/trunk/module/t/cgi.t
    httpd/apreq/trunk/module/t/cookie.t
    httpd/apreq/trunk/module/t/request.t

Modified: httpd/apreq/trunk/module/t/big_request.t
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/module/t/big_request.t?view=diff&rev=447028&r1=447027&r2=447028
==============================================================================
--- httpd/apreq/trunk/module/t/big_request.t (original)
+++ httpd/apreq/trunk/module/t/big_request.t Sun Sep 17 03:01:53 2006
@@ -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, have_lwp;
+plan tests => $num_tests, need_lwp;
 
 my $location = "/apreq_big_request_test";
 my $scheme = 'http';

Modified: httpd/apreq/trunk/module/t/cgi.t
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/module/t/cgi.t?view=diff&rev=447028&r1=447027&r2=447028
==============================================================================
--- httpd/apreq/trunk/module/t/cgi.t (original)
+++ httpd/apreq/trunk/module/t/cgi.t Sun Sep 17 03:01:53 2006
@@ -16,7 +16,7 @@
 my @big_keys    = ('a'..'z');
 
 plan tests => 10 + @key_len * @key_num + @big_key_len * @big_key_num,
-    have_lwp && have_cgi;
+    need_lwp && need_cgi;
 
 require HTTP::Cookies;
 

Modified: httpd/apreq/trunk/module/t/cookie.t
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/module/t/cookie.t?view=diff&rev=447028&r1=447027&r2=447028
==============================================================================
--- httpd/apreq/trunk/module/t/cookie.t (original)
+++ httpd/apreq/trunk/module/t/cookie.t Sun Sep 17 03:01:53 2006
@@ -6,7 +6,7 @@
 use Apache::TestUtil;
 use Apache::TestRequest qw(GET_BODY GET_HEAD);
 
-plan tests => 5, have_lwp;
+plan tests => 5, need_lwp;
 
 require HTTP::Cookies;
 

Modified: httpd/apreq/trunk/module/t/request.t
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/module/t/request.t?view=diff&rev=447028&r1=447027&r2=447028
==============================================================================
--- httpd/apreq/trunk/module/t/request.t (original)
+++ httpd/apreq/trunk/module/t/request.t Sun Sep 17 03:01:53 2006
@@ -8,7 +8,7 @@
 
 my $num_tests = 18;
 $num_tests *= 2 if Apache::Test::have_ssl();
-plan tests => $num_tests, have_lwp;
+plan tests => $num_tests, need_lwp;
 my $scheme = "http";
 
 START_TESTS: