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

Re: [perl.git] branch blead, updated. v5.17.2-81-g613c63b

From:
Tony Cook
Date:
July 28, 2012 05:27
Subject:
Re: [perl.git] branch blead, updated. v5.17.2-81-g613c63b
Message ID:
20120728122719.GA20986@mars.tony.develop-help.com
On Fri, Jul 27, 2012 at 03:54:12AM +0200, Chip Salzenberg wrote:
> In perl.git, the branch blead has been updated
> 
> <http://perl5.git.perl.org/perl.git/commitdiff/613c63b465f01af4e535fdc6c1c17e7470be5aad?hp=7a4d6ad6921760cfbf05a181861e2cddaf121a45>
> 
> - Log -----------------------------------------------------------------
> commit 613c63b465f01af4e535fdc6c1c17e7470be5aad
> Author: Chip Salzenberg <chip@pobox.com>
> Date:   Wed Jul 25 20:27:30 2012 -0700
> 
>     When setting environment variables via %ENV, force values to be strings only
>     (turning off other OK flags), make them byte strings; if wide characters can't
>     be downgraded to bytes, leave the string utf8 and issue a warning.

Two of the tests introduced in this commit have failed in a unicode
environment since they were introduced:

tony@mars:.../perl/t$ PERL_UNICODE= LC_ALL=de_DE.utf8 ./perl harness op/magic.t 
op/magic.t .. 65/171 Malformed UTF-8 character (unexpected continuation byte 0xa0, with no preceding start byte) in unpack at ./test.pl line 272.
# Failed test 154 - ENV store downgrades utf8 in setenv at op/magic.t line 73
#      got "eh zero \000\n"
# expected "eh zero \x{a0}\n"
# Failed test 157 - ENV store encodes high utf8 in SV at op/magic.t line 73
#      got "X-Day \x{1998}\n"
# expected "X-Day \x{e1}\x{a6}\x{98}\n"
op/magic.t .. Failed 2/171 subtests 
        (less 4 skipped subtests: 165 okay)

Test Summary Report
-------------------
op/magic.t (Wstat: 0 Tests: 171 Failed: 2)
  Failed tests:  154, 157
Files=1, Tests=171,  4 wallclock secs ( 0.04 usr  0.00 sys +  0.32 cusr  0.30 csys =  0.66 CPU)
Result: FAIL



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