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 jo...@apache.org on 2005/10/23 16:57:47 UTC
svn commit: r327797 - /httpd/apreq/trunk/glue/perl/t/apreq/cgi.t
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';