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/05/16 15:45:48 UTC
svn commit: r170386 -
/httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm
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") {