Ruslan U. Zakirov wrote:
Apache-2 form CVS as mp2.
Some locale/UTF issues?
I think it's not critical issue and I could force make install.

Verbose make test output:
t/apache/util....1..4
# Running under perl version 5.008003 for linux
# Current time local: Tue Mar 16 18:33:54 2004
# Current time GMT: Tue Mar 16 15:33:54 2004
# Using Test.pm version 1.24
# testing : Apache::Util::ht_time($pool)
# expected: (?-xism:^\w\w\w, \d\d \w\w\w \d\d\d\d \d\d:\d\d:\d\d)
# received: ÐÑÐ, 16 ÐÐÑ 2004 15:33:57 GMT
not ok 1
# testing : Apache::Util::ht_time($pool, $time)
# expected: (?-xism:^\w\w\w, \d\d \w\w\w \d\d\d\d \d\d:\d\d:\d\d)
# received: ÐÑÐ, 16 ÐÐÑ 2004 15:33:57 GMT
not ok 2
# testing : Apache::Util::ht_time($pool, $time, $fmt)
# expected: (?-xism:^\w\w\w, \d\d \w\w\w \d\d\d\d \d\d:\d\d:\d\d)
# received: ÐÑÐ, 16 ÐÐÑ 2004 15:33:57 GMT
not ok 3
# testing : Apache::Util::ht_time($pool, $time, $fmt, $gmt)
# expected: (?-xism:^\w\w\w, \d\d \w\w\w \d\d\d\d \d\d:\d\d:\d\d)
# received: ÐÑÐ, 16 ÐÐÑ 2004 18:33:57 MSK
not ok 4
FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------

Ouch, I thought that \w will match any letter, but I guess it won't w/o loading locale. Does the problem go away if you apply this patch?


Index: t/response/TestApache/util.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/response/TestApache/util.pm,v
retrieving revision 1.1
diff -u -r1.1 util.pm
--- t/response/TestApache/util.pm       9 Feb 2004 19:25:01 -0000       1.1
+++ t/response/TestApache/util.pm       16 Mar 2004 17:38:01 -0000
@@ -27,6 +27,8 @@
     plan $r, tests => 4;

     {
+        use locale; # for matching strftime-like date-time strings
+
         my $time = time;
         my $fmt = "%a, %d %b %Y %H:%M:%S %Z";
         my $fmtdate;



__________________________________________________________________
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

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to