build: Ignore the user's language settings when running tests.

* test-env.in: Unset 'LANGUAGE', set 'LC_MESSAGE'.
This commit is contained in:
Ludovic Courtès 2014-09-17 07:44:00 +02:00
parent 57db49cc3e
commit 736755e21e
1 changed files with 6 additions and 0 deletions

View File

@ -87,6 +87,12 @@ then
trap "kill $daemon_pid ; rm -rf $NIX_STATE_DIR" EXIT trap "kill $daemon_pid ; rm -rf $NIX_STATE_DIR" EXIT
fi fi
# Avoid issues that could stem from l10n, such as language/encoding
# mismatches.
unset LANGUAGE
LC_MESSAGES=C
export LC_MESSAGES
storedir="@storedir@" storedir="@storedir@"
prefix="@prefix@" prefix="@prefix@"
datarootdir="@datarootdir@" datarootdir="@datarootdir@"