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

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

From: cfaust-dougot
Subject: RE: MP2 - Make test Error - t/api/request_rec.t
Date: 18:33 on 10 Jan 2005
This is a multi-part message in MIME format.

------_=_NextPart_001_01C4F743.0BA71DB7
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks Stas, that did the trick, test and install both ran without a =
problem!!
=20
Thanks Again!
-Chris
=20

________________________________

From: Stas Bekman [mailto:stas@xxxxxx.xxx]
Sent: Mon 1/10/2005 11:17 AM
To: cfaust-dougot
Cc: modperl@xxxx.xxxxxx.xxx
Subject: Re: MP2 - Make test Error - t/api/request_rec.t



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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- 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 =3D $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



------_=_NextPart_001_01C4F743.0BA71DB7
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">=0A=
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">=0A=
<HTML>=0A=
<HEAD>=0A=
=0A=
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">=0A=
<TITLE>Re: MP2 - Make test Error - t/api/request_rec.t</TITLE>=0A=
</HEAD>=0A=
<BODY>=0A=
<DIV id=3DidOWAReplyText1422 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>Thanks Stas, =
that did the =0A=
trick, test and install both ran without a problem!!</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Thanks Again!</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>-Chris</FONT></DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> Stas Bekman =0A=
[mailto:stas@xxxxxx.xxx]<BR><B>Sent:</B>; Mon 1/10/2005 11:17 =
AM<BR><B>To:</B> =0A=
cfaust-dougot<BR><B>Cc:</B> modperl@xxxx.xxxxxx.xxx<BR><B>Subject:</B> =
Re: MP2 - =0A=
Make test Error - t/api/request_rec.t<BR></FONT><BR></DIV>=0A=
<DIV>=0A=
<P><FONT size=3D2>Chris Faust wrote:<BR>&gt; Hi Stas,<BR>&gt;<BR>&gt; =
Moving to a =0A=
new server and I'm rebuilding everything from scratch, I'm<BR>&gt; =
getting a =0A=
single error during "make test" for "t/api/request_rec.t".<BR>&gt; =
Didn't find =0A=
much info on it, saw a message from you to Ruslan Zakirov<BR>&gt; which =
had the =0A=
error but the email was for a different problem.<BR><BR>&gt; # testing : =0A=
$r-&gt;hostname<BR>&gt; # expected: TAGTEAM-ES3<BR>&gt; # received: =0A=
tagteam-es3<BR>&gt; not ok 14<BR><BR>This patch should fix it, =0A=
Chris:<BR><BR>Index: =0A=
t/response/TestAPI/request_rec.pm<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<BR>--- =0A=
t/response/TestAPI/request_rec.pm&nbsp;&nbsp; (revision 124805)<BR>+++ =0A=
t/response/TestAPI/request_rec.pm&nbsp;&nbsp; (working copy)<BR>@@ -60,7 =
+60,7 =0A=
@@<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # HTTP =0A=
1.0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ok t_cmp $r-&gt;proto_num, 1000, =0A=
't-&gt;proto_num';<BR><BR>-&nbsp;&nbsp;&nbsp; ok t_cmp $r-&gt;hostname, =0A=
$r-&gt;get_server_name, '$r-&gt;hostname';<BR>+&nbsp;&nbsp;&nbsp; ok =
t_cmp =0A=
lc($r-&gt;hostname), lc($r-&gt;get_server_name), =0A=
'$r-&gt;hostname';<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0A=
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my =
$old_hostname =3D =0A=
$r-&gt;hostname("other.hostname");<BR><BR><BR>--<BR>_____________________=
_____________________________________________<BR>Stas =0A=
Bekman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
JAm_pH =0A=
------&gt; Just Another mod_perl Hacker<BR><A =0A=
href=3D"http://stason.org/">http://stason.org/</A>&nbsp;&nbsp;&nbsp;&nbsp=
; =0A=
mod_perl Guide ---&gt; <A =0A=
href=3D"http://perl.apache.org">http://perl.apache.org</A><BR><A =0A=
href=3D"mailto:stas@xxxxxx.xxx">mailto:stas@xxxxxx.xxx</A>; <A =0A=
href=3D"http://use.perl.org">http://use.perl.org</A>; <A =0A=
href=3D"http://apacheweek.com">http://apacheweek.com</A><BR><A =0A=
href=3D"http://modperlbook.org">http://modperlbook.org</A>; <A =0A=
href=3D"http://apache.org">http://apache.org</A>&nbsp;&nbsp; <A =0A=
href=3D"http://ticketmaster.com">http://ticketmaster.com</A><BR></FONT></=
P></DIV>=0A=
=0A=
</BODY>=0A=
</HTML>
------_=_NextPart_001_01C4F743.0BA71DB7--

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