From fc5877a6231aca01b63ddfd507bc1180078c09e2 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Mon, 12 Mar 2012 23:54:05 -0500 Subject: test: use test_i18ncmp when checking --stat output Ever since v1.7.9.2~13 (2012-02-01), git's diffstat-style summary line produced by "git apply --stat", "git diff --stat", and "git commit" varies by locale, producing test failures when GETTEXT_POISON is set. Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- t/t4049-diff-stat-count.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t4049-diff-stat-count.sh') diff --git a/t/t4049-diff-stat-count.sh b/t/t4049-diff-stat-count.sh index a6d1887536..591ffbc075 100755 --- a/t/t4049-diff-stat-count.sh +++ b/t/t4049-diff-stat-count.sh @@ -19,7 +19,7 @@ test_expect_success setup ' 2 files changed, 2 insertions(+) EOF git diff --stat --stat-count=2 >actual && - test_cmp expect actual + test_i18ncmp expect actual ' test_done -- cgit v1.2.3