httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r164693 - /httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm
Date Mon, 25 Apr 2005 23:55:30 GMT
Author: joes
Date: Mon Apr 25 16:55:29 2005
New Revision: 164693

URL: http://svn.apache.org/viewcvs?rev=164693&view=rev
Log:
Must require APR::Request::Error for disable_uploads test.


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=164693&r1=164692&r2=164693&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm (original)
+++ httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm Mon Apr 25 16:55:29 2005
@@ -136,6 +136,7 @@
         $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