summary refs log tree commit diff
path: root/test-env.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-17 07:44:00 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-17 07:44:00 +0200
commit736755e21eb8ce04d2451fef22ead27eafe0a162 (patch)
tree7096e644c9aaacaad9910ae4efab921242b12f11 /test-env.in
parent57db49cc3e7a734d684acd5aca36f246ba80be1b (diff)
downloadguix-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.in6
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@"