Tulan W. Hu wrote:
I'm not sure what went wrong, but there is nothing in the log. And there
must be something since you had 'Access Denied'


Does it need to access on internet? I need to have a proxy setting to go
out.

No, no, none of the tests require that.

Please do:

t/TEST -clean
t/TEST -verbose t/protocol/pseudo_http.t t/apr/util.t

t/protocol/pseudo_http....# connecting to localhost:8544

# send: foobar
# testing : banner
# expected: Welcome to TestProtocol::pseudo_http
# received: Access Denied
not ok 5

So for some reason one of the AAA phases fail. Please apply this patch, run:

t/TEST -clean
t/TEST -verbose t/protocol/pseudo_http.t

and post only t/logs/error_log.

Index: t/protocol/TestProtocol/pseudo_http.pm
===================================================================
--- t/protocol/TestProtocol/pseudo_http.pm      (revision 148914)
+++ t/protocol/TestProtocol/pseudo_http.pm      (working copy)
@@ -84,6 +84,8 @@
     for my $method (qw(run_access_checker run_check_user_id
                        run_auth_checker)) {

+        warn "starting method: $method\n";
+
         my $rc = $r->$method();

         if ($rc != Apache::OK and $rc != Apache::DECLINED) {
@@ -98,8 +100,13 @@
             my $username = prompt($socket, "Login");
             my $password = prompt($socket, "Password");

+            warn "u/p: $username/$password\n";
+
             $r->set_basic_credentials($username, $password);
         }
+
+        warn "finished method: $method\n";
+
     }

     return Apache::OK;

t/apr/util................1..4
# Running under perl version 5.008006 for solaris
# Current time local: Mon Jan 31 09:16:52 2005
# Current time GMT:   Mon Jan 31 14:16:52 2005
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.21
ok 1
# crypt
ok 2
# sha1
not ok 3

here the sha1 fails. it's strange because apparently the same test running outside of modperl (i.e. t/apr-ext/util.t) doesn't have this problem. Is that correct? Can you post the output of:


t/TEST -v t/apr-ext/util.t



--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to