httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r327797 - /httpd/apreq/trunk/glue/perl/t/apreq/cgi.t
Date Sun, 23 Oct 2005 14:57:47 GMT
Author: joes
Date: Sun Oct 23 07:57:44 2005
New Revision: 327797

URL: http://svn.apache.org/viewcvs?rev=327797&view=rev
Log:
HTTP::Cookies is part of lwp, so we require() it
instead of use().  That way the test may be skipped
if lwp is not available.

Submitted by: Philip Gollucci

Modified:
    httpd/apreq/trunk/glue/perl/t/apreq/cgi.t

Modified: httpd/apreq/trunk/glue/perl/t/apreq/cgi.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/cgi.t?rev=327797&r1=327796&r2=327797&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/cgi.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/cgi.t Sun Oct 23 07:57:44 2005
@@ -7,7 +7,6 @@
 use Apache::TestRequest qw(GET_BODY UPLOAD_BODY
                            GET_BODY_ASSERT POST_BODY GET_RC GET_HEAD);
 use constant WIN32 => Apache::TestConfig::WIN32;
-use HTTP::Cookies;
 use Cwd;
 require File::Basename;
 
@@ -37,6 +36,8 @@
 
 plan tests => 10 + @key_len * @key_num + @big_key_len * @big_key_num +
   @names * @methods, have_lwp && have_cgi;
+
+require HTTP::Cookies;
 
 my $location = '/cgi-bin';
 my $script = $location . '/test_cgi.pl';



Mime
View raw message