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

View file

@ -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@"