Skip to content

locale warnings issued from Perl can cause test failures. #29

@plicease

Description

@plicease

If you set the locale wrong, it can cause Test::Script tests to fail. There are a couple of ways to address this:

  1. Do nothing, accept we will get a few failed test results from cpantesters
  2. Detect error output from an empty Perl script and refuse to install. Diagnostic that we do not support broken configurations. This saves getting the cpantester failures.
  3. Detect error output from an empty Perl script and try unsetting LANG and LC_COLLATE, LC_ALL, etc. This will let the tests pass (at least in some subset of broken environments), but it might allow dists that depend on this one to fail instead.

None of these options is all that appetizing, so I think we might end up going with number 1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions