httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r170386 - /httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm
Date Mon, 16 May 2005 13:45:48 GMT
Author: joes
Date: Mon May 16 06:45:46 2005
New Revision: 170386

URL: http://svn.apache.org/viewcvs?rev=170386&view=rev
Log:
Drop require to test that apreq_xs_croak really
is loading APR::Request::Error.

Modified:
    httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm

Modified: httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm?rev=170386&r1=170385&r2=170386&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm (original)
+++ httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm Mon May 16 06:45:46 2005
@@ -116,7 +116,6 @@
         $r->print(<$io>);
     }
     elsif ($test eq 'bad') {
-        require APR::Request::Error;
         eval {my $q = $req->APR::Request::args('query')};
         if (ref $@ && $@->isa("APR::Request::Error")) {
             $req->upload("HTTPUPLOAD")->slurp(my $data);
@@ -136,7 +135,6 @@
         $r->print($upload->type);
     }
     elsif ($test eq 'disable_uploads') {
-        require APR::Request::Error;
         $req->disable_uploads(1);
         eval {my $upload = $req->upload('HTTPUPLOAD')};
         if (ref $@ eq "APR::Request::Error") {



Mime
View raw message