Subject: | Patch to t/utf8.t |
debian/unstable
eloy@ws143:~$ perl -v
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
without patch test fails:
t/utf8....
# Failed test 'windows-1-2-5-1'
# in t/utf8.t at line 42.
# Failed test 'windows-1252 eq'
# in t/utf8.t at line 43.
# Failed test 'win-latin-1'
# in t/utf8.t at line 44.
# Failed test 'windows-1253'
# in t/utf8.t at line 46.
# Looks like you failed 4 tests of 22.
t/utf8....dubious
Please check attached patch made by gregor+debian@comodo.priv.at
Subject: | utf8.t.diff |
--- /tmp/utf8.t 2006-03-19 19:00:10.194282289 +0100
+++ utf8.t 2006-03-19 19:00:36.192693435 +0100
@@ -39,11 +39,11 @@
{
skip 'Unicode::Map8 is not installed', 7 unless eval 'require Unicode::Map8';
# Unicode::Map8 aliases:
- ok(umu8_charset_name("Windows-1-2-5-1") eq "cp1251", 'windows-1-2-5-1');
- ok(umu8_charset_name("windows-1252") eq "cp1252", 'windows-1252 eq');
- ok(umu8_charset_name("win-latin-1") eq "cp1252", 'win-latin-1');
- ok(umu8_charset_name("windows-1252") ne "cp1253", 'windows-1252 ne');
- ok(umu8_charset_name("windows-1253") eq "cp1253", 'windows-1253');
+ ok(umu8_charset_name("Windows-1-2-5-1") eq "windows-1251", 'windows-1-2-5-1');
+ ok(umu8_charset_name("windows-1252") eq "windows-1252", 'windows-1252 eq');
+ ok(umu8_charset_name("win-latin-1") eq "windows-1252", 'win-latin-1');
+ ok(umu8_charset_name("windows-1252") ne "windows-1253", 'windows-1252 ne');
+ ok(umu8_charset_name("windows-1253") eq "windows-1253", 'windows-1253');
# Unicode::Map8 names with dummy mib:
ok(umu8_charset_name("Adobe Zapf Ding Bats") eq "Adobe-Zapf-Dingbats", 'Adobe Zapf Ding Bats');
ok(umu8_charset_name(" c p 1 0 0 7 9 ") eq "cp10079", ' c p 1 0 0 7 9 ');