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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to