Skip to content

Failed test 'Failure opening nonexistent file' (non-English locale + perl < 5.22) #1787

@eserte

Description

@eserte

On some of my smokers the test suite fails:

#   Failed test 'Failure opening nonexistent file'
#   at t/file_utils.t line 29.
#                   'Error open (<:encoding(UTF-8)) on '/slfkjsdlkfjsdlf': Datei oder Verzeichnis nicht gefunden at /home/cpansand/.cpan/build/2026031205/Dancer2-2.1.0-1/blib/lib/Dancer2/FileUtils.pm line 42.
# '
#     doesn't match '(?^:^Error open.+No such file or directory)'
# Looks like you failed 1 test of 14.
t/file_utils.t ......................................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/14 subtests 

Probably this happens only with older perls (< 5.22) if a non-English locale (here it was LC_ALL=de_DE.ISO8859-1) is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions