Oliver Block wrote:
1. Problem Description:
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/apache/util.t 8 4 1-4
8 tests and 1 subtest skipped.
Failed 1/246 test scripts. 4/2496 subtests failed.
Files=246, Tests=2496, 141 wallclock secs (94.68 cusr + 17.77 csys = 112.45
CPU)
Failed 1/246 test programs. 4/2496 subtests failed.
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Fehler 1
t/apache/util....1..8
# Running under perl version 5.010000 for linux
# Current time local: Sat Mar 21 18:08:07 2009
# Current time GMT: Sat Mar 21 17:08:07 2009
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
# testing : Apache2::Util::ht_time($pool)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: Sa, 21 Mär 2009 17:08:08 GMT
not ok 1
# testing : Apache2::Util::ht_time($pool, $time)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: Sa, 21 Mär 2009 17:08:08 GMT
not ok 2
# testing : Apache2::Util::ht_time($pool, $time, $fmt)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: Sa, 21 Mär 2009 17:08:08 GMT
not ok 3
# testing : Apache2::Util::ht_time($pool, $time, $fmt, $gmt)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: Sa, 21 Mär 2009 18:08:08 CET
not ok 4
This looks like a localization thing to me. I'm guessing that on your
system for some reason ^\w+$ doesn't match against 'Mär'. It fails on
my gentoo box too:
perl -e "print ('Mär' =~ /^\w+$/)"
prints undef.
however,
perl -Mutf8 -e "print ('Mär' =~ /^\w+$/) , qq[\n\n]"
works, so i'm guessing we just need to through a "use utf8" into the
test or something?
In the meantime, that seems like a bug in the test to me, more than a
problem with mod_perl.