perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r728811 - in /perl/Apache-Test/trunk: Changes lib/Apache/TestRequest.pm
Date Mon, 22 Dec 2008 22:20:57 GMT
Author: pgollucci
Date: Mon Dec 22 14:20:57 2008
New Revision: 728811

URL: http://svn.apache.org/viewvc?rev=728811&view=rev
Log:
Fix broken tests due to a bug in libwww-perl 5.820.
t/hooks/authz....
    1..4
    # Running under perl version 5.010000 for linux
    # Current time local: Mon Dec 22 10:34:54 2008
    # Current time GMT:   Mon Dec 22 16:34:54 2008
    # Using Test.pm version 1.25
    # Using Apache/Test.pm version 1.31
    ok 1
    ok 2
    ok 3
    not ok 4
    # Failed test 4 in t/hooks/authz.t at line 19

Reported by: Gunnar Wolf <gwolf@gwolf.org>
Submited by: Niko Tyni <ntyni@debian.org>
Reviewed by: pgollucci

Message Id: <20081222211400.GA3956@rebekka>


Modified:
    perl/Apache-Test/trunk/Changes
    perl/Apache-Test/trunk/lib/Apache/TestRequest.pm

Modified: perl/Apache-Test/trunk/Changes
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/Changes?rev=728811&r1=728810&r2=728811&view=diff
==============================================================================
--- perl/Apache-Test/trunk/Changes (original)
+++ perl/Apache-Test/trunk/Changes Mon Dec 22 14:20:57 2008
@@ -8,6 +8,10 @@
 
 =item 1.31-dev
 
+Work around a bug introduced in libwww-perl in version
+5.820 for httpd's credentials
+[Gunnar Wolf <gwolf@gwolf.org>, Niko Tyni <ntyni@debian.org>
+
 Make Apache::TestConfig::untaint_path tolerate undefined arguments
 [Torsten Foertsch <torsten.foertsch@gmx.net]
 

Modified: perl/Apache-Test/trunk/lib/Apache/TestRequest.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestRequest.pm?rev=728811&r1=728810&r2=728811&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestRequest.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestRequest.pm Mon Dec 22 14:20:57 2008
@@ -256,6 +256,11 @@
     $self;
 }
 
+sub credentials {
+    my $self = shift;
+    return $self->get_basic_credentials(@_);
+}
+
 sub get_basic_credentials {
     my($self, $realm, $uri, $proxy) = @_;
 



Mime
View raw message