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>
Show changes to t/Makefile +2 −0
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; )