develooper Front page | perl.perl5.porters | Postings from August 2012

op/magic.t tests 154,157

Thread Next
From:
Steve Hay
Date:
August 1, 2012 14:11
Subject:
op/magic.t tests 154,157
Message ID:
CADED=K7dObo8_MfJFO0367Wuh60WoSw_tnZ0YAnY78mG9TkfVg@mail.gmail.com
I see op/magic.t failing tests 154 and 157 for me (Windows, VC++), and
also in various other smoke reports (not just Windows).

Is anyone looking into this?


Here's the relevant output on my system;

# Failed test 154 - ENV store downgrades utf8 in setenv at op/magic.t line 71
#      got 'foo=eh zero
not ok 154 - ENV store downgrades utf8 in setenv# '

# expected /(?^:^(?:foo=)?eh\ zero\ \á$)/
# Wide character in setenv at op/magic.t line 649.
ok 155 - ENV store warns about wide characters
ok 156 - ENV store encodes high utf8 in SV
# Failed test 157 - ENV store encodes high utf8 in SV at op/magic.t line 71
#      got 'foo=X-Day á¦~
not ok 157 - ENV store encodes high utf8 in SV# '

# expected /(?^:^(?:foo=)?X\-Day\ \ß\ª\ÿ$)/

Cmd.exe uses the old DOS/OEM code pages by default (cp850 for me in a
British English setup), but if I switch to the Windows/ANSI code page
(cp1252 for me) then all tests pass, albeit with a "Wide character in
setenv" warning:

mode con cp select=1252

ok 154 - ENV store downgrades utf8 in setenv
# Wide character in setenv at op/magic.t line 649.
ok 155 - ENV store warns about wide characters
ok 156 - ENV store encodes high utf8 in SV
ok 157 - ENV store encodes high utf8 in SV

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About