Skip to content

Failed test 186 - ENV store downgrades utf8 in setenv at op/magic.t line 75 (also test 187) #60

@shawnlaffan

Description

@shawnlaffan

Raising a separate issue so as not to clutter #56

From #56 (comment)

These failures are appearing in the perl tests when running under GCC 10.

op/magic-27839.t ..................................................... ok
# Failed test 186 - ENV store downgrades utf8 in setenv at op/magic.t line 75
#      got 'foo=eh zero �\n'
# expected /(?^:^(?:foo=)?eh\ zero\ \<A0>$)/
# Failed test 187 - ENV store downgrades utf8 key in setenv at op/magic.t line 75
#      got 'eh zero �=widekey\r\neh zero �=widekey\n'
# expected /(?^:^(?:eh\ zero\ \<A0>=)?widekey$)/
op/magic.t ...........................................................
Failed 2/208 subtests
        (less 13 skipped subtests: 193 okay)
op/method.t .......................................................... ok

The only other case I can find is from 2013 and it was unresolved: https://www.nntp.perl.org/group/perl.perl5.porters/2013/05/msg201832.html

Possibly it is an artefact of running under docker. Or it is related to the compiler (I have not checked with GCC 11). Maybe it is a codepage setting somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions