testsuite fails with locale diff output; set locale vars
PATCH 1/1 testsuite fails with locale diff output; set locale vars
From: Junichi Uekawa <[email protected]>
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 <[email protected]>
t/Makefile +2 -0
@@ -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; )