Re: MP2 - Make test Error - t/api/request_rec.t

[prev] [thread] [next] [Date index for 2005/01/10]

From: Stas Bekman
Subject: Re: MP2 - Make test Error - t/api/request_rec.t
Date: 16:17 on 10 Jan 2005
Chris Faust wrote:
> Hi Stas,
> 
> Moving to a new server and I'm rebuilding everything from scratch, I'm
> getting a single error during "make test" for "t/api/request_rec.t".
> Didn't find much info on it, saw a message from you to Ruslan Zakirov
> which had the error but the email was for a different problem.

> # testing : $r->hostname
> # expected: TAGTEAM-ES3
> # received: tagteam-es3
> not ok 14

This patch should fix it, Chris:

Index: t/response/TestAPI/request_rec.pm
===================================================================
--- t/response/TestAPI/request_rec.pm   (revision 124805)
+++ t/response/TestAPI/request_rec.pm   (working copy)
@@ -60,7 +60,7 @@
      # HTTP 1.0
      ok t_cmp $r->proto_num, 1000, 't->proto_num';

-    ok t_cmp $r->hostname, $r->get_server_name, '$r->hostname';
+    ok t_cmp lc($r->hostname), lc($r->get_server_name), '$r->hostname';

      {
          my $old_hostname = $r->hostname("other.hostname");


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

MP2 - Make test Error - t/api/request_rec.t
Chris Faust 15:59 on 09 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 16:17 on 10 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 18:33 on 10 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 22:25 on 10 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 20:02 on 10 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 22:35 on 10 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 22:58 on 10 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 23:16 on 10 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 23:41 on 10 Jan 2005

Re: MP2 - Make test Error - t/api/request_rec.t
Stas Bekman 00:04 on 11 Jan 2005

RE: MP2 - Make test Error - t/api/request_rec.t
cfaust-dougot 00:25 on 11 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52