build: Ignore the user's language settings when running tests.
* test-env.in: Unset 'LANGUAGE', set 'LC_MESSAGE'.
This commit is contained in:
parent
57db49cc3e
commit
736755e21e
|
@ -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@"
|
||||||
|
|
Loading…
Reference in New Issue