diff options
author | Guillem Jover <guillem@debian.org> | 2018-10-10 00:06:41 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-10-10 01:13:00 +0200 |
commit | 13afe924a603c2645eb7b886b1e110220248efa4 (patch) | |
tree | 4a102049d50f6fd1f02c02159d59a3717ee83d5c /scripts/Build.PL.in | |
parent | 4c6d0e7159a192e82c43cb8ee68cb091cbce301a (diff) | |
download | dpkg-13afe924a603c2645eb7b886b1e110220248efa4.tar.gz |
build: Set locale for CPAN tests to C
The test suite expects to run under the C locale.
Fixes: https://rt.cpan.org/Ticket/Display.html?id=127314
Diffstat (limited to 'scripts/Build.PL.in')
-rw-r--r-- | scripts/Build.PL.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Build.PL.in b/scripts/Build.PL.in index 6418d0d36..b8f62d26f 100644 --- a/scripts/Build.PL.in +++ b/scripts/Build.PL.in @@ -49,6 +49,8 @@ my $class = Module::Build->subclass( sub ACTION_test { my $self = shift; + local $ENV{LANG} = 'C'; + local $ENV{LC_ALL} = 'C'; local $ENV{DPKG_TEST_MODE} = 'cpan'; local $ENV{DPKG_DATADIR} = 'data'; local $ENV{DPKG_ORIGINS_DIR} = 't/origins'; |