Re: error in make test for mod_perl 2.0.0-RC4

[prev] [thread] [next] [Date index for 2005/03/02]

From: Stas Bekman
Subject: Re: error in make test for mod_perl 2.0.0-RC4
Date: 13:18 on 02 Mar 2005
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:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

error in make test for mod_perl 2.0.0-RC4
Alexander Godyaev 08:44 on 02 Mar 2005

Re: error in make test for mod_perl 2.0.0-RC4
Stas Bekman 13:18 on 02 Mar 2005

Generated at 14:49 on 03 Mar 2005 by mariachi v0.52