Alexander Godyaev wrote:
L<@L<@-----8<---------- Start Bug Report ------------8<----------
1. Problem Description:

  I make test for mod_perl and get error in some test
  (make test TEST_VERBOSE=1 TEST_FILES="t/apache/util.t")
[...]
t/apache/util....1..8
# testing : Apache::Util::ht_time($pool)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: ÐÑÑ, 01 ÐÐ°Ñ 2005 14:08:05 GMT
not ok 1

Maybe this because I start Linux with Russian language?
Mod_perl doesn't support russian???

Alexander, it has nothing to do with mod_perl, but the particular test.

Take a look at t/response/TestApache/util.pm, it already tries to deal with the locale issue, since that exact problem was reported before. I believe this is a bug in perl 5.6.2's regex engine. What do you think? You should be able to easily abstract that mod_perl test into a command line one liner. Shout if you need help to do that.

Especially check the LC_CTYPE and LC_TIME env vars, since the test relies on those.

--
__________________________________________________________________
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