Re: t/hooks/authen_digest.t fails in httpd24threading

[email protected] (Andreas Vögele)
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Mark Hedges writes:

> 1. Problem Description:
>
>   t/hooks/authen_digest.t fails
> [...]
> # Failed test 4 in t/hooks/authen_digest.t at line 36
> # Failed test 5 in t/hooks/authen_digest.t at line 38
> # Failed test 6 in t/hooks/authen_digest.t at line 42
> # Failed test 7 in t/hooks/authen_digest.t at line 46

I get this error too. The problem is that authen_digest.t depends on
mod_auth_basic instead of mod_auth_digest. The attached patch fixes the
dependency.
patch_authen_digest_t.diff (text/x-patch, 450 B)
Index: t/hooks/authen_digest.t
===================================================================
--- t/hooks/authen_digest.t	(revision 1677319)
+++ t/hooks/authen_digest.t	(working copy)
@@ -6,7 +6,7 @@
 use Apache::TestRequest;
 use Apache::TestUtil;
 
-plan tests => 7, need need_lwp, need_auth, 'HTML::HeadParser';
+plan tests => 7, need need_lwp, need_module('auth_digest', 'HTML::HeadParser');
 
 my $location = '/TestHooks__authen_digest';
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.