git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] testsuite fails with locale diff output; set locale vars
@ 2005-10-10  4:20 Junichi Uekawa
  0 siblings, 0 replies; only message in thread
From: Junichi Uekawa @ 2005-10-10  4:20 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

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; )

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-10  4:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-10  4:20 [PATCH] testsuite fails with locale diff output; set locale vars Junichi Uekawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).