From 736755e21eb8ce04d2451fef22ead27eafe0a162 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 17 Sep 2014 07:44:00 +0200 Subject: build: Ignore the user's language settings when running tests. * test-env.in: Unset 'LANGUAGE', set 'LC_MESSAGE'. --- test-env.in | 6 ++++++ 1 file changed, 6 insertions(+) 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@" -- cgit v1.2.3