diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-17 07:44:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-17 07:44:00 +0200 |
commit | 736755e21eb8ce04d2451fef22ead27eafe0a162 (patch) | |
tree | 7096e644c9aaacaad9910ae4efab921242b12f11 /test-env.in | |
parent | 57db49cc3e7a734d684acd5aca36f246ba80be1b (diff) | |
download | guix-736755e21eb8ce04d2451fef22ead27eafe0a162.tar guix-736755e21eb8ce04d2451fef22ead27eafe0a162.tar.gz |
build: Ignore the user's language settings when running tests.
* test-env.in: Unset 'LANGUAGE', set 'LC_MESSAGE'.
Diffstat (limited to 'test-env.in')
-rw-r--r-- | test-env.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-env.in b/test-env.in index 9d0c8cc414..34f57257d2 100644 --- a/test-env.in +++ b/test-env.in @@ -87,6 +87,12 @@ then trap "kill $daemon_pid ; rm -rf $NIX_STATE_DIR" EXIT fi +# Avoid issues that could stem from l10n, such as language/encoding +# mismatches. +unset LANGUAGE +LC_MESSAGES=C +export LC_MESSAGES + storedir="@storedir@" prefix="@prefix@" datarootdir="@datarootdir@" |