[PATCH] testsuite fails with locale diff output; set locale vars

From: Junichi Uekawa <dancer@netfort.gr.jp>
Date: 2005-10-10 14:20:55
From: Junichi Uekawa <dancer@debian.org>

git testsuite depends on diff output, which can change 
depending on LC_MESSAGES.

set LANG and LC_ALL environment vars to allow 
locale to be set to an expected value of 'C'.


Signed-off-by: Junichi Uekawa <dancer@debian.org>

diff --git a/t/Makefile b/t/Makefile
index e71da77..47eea74 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -8,6 +8,8 @@ SHELL_PATH ?= $(SHELL)
 TAR ?= $(TAR)

 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
+export LC_ALL=C
+export LANG=C

 all:
        @$(foreach t,$T,echo "*** $t ***"; $(SHELL_PATH) $t $(GIT_TEST_OPTS) || exit; )

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Oct 10 14:22:23 2005

This archive was generated by hypermail 2.1.8 : 2005-10-10 14:22:28 EST