summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-06-02 12:15:48 -0700
committerJunio C Hamano <gitster@pobox.com>2010-06-02 12:15:48 -0700
commit2de03ebe0635c93e182c3367140f999e79bdadcd (patch)
tree27cf5e91aa364aa4e691c1222926ef1403af8642 /grep.h
parent6774e2bf0822cd4358620d3e806f9b3df8bd777e (diff)
downloadgit-2de03ebe0635c93e182c3367140f999e79bdadcd.tar.gz
t9129: fix UTF-8 locale detection
The UTF-8 prerequisite test checked explicitly for en_US.utf8 in the output from "locale -a", but the tests that are actually protected by the prerequisite were asking LC_ALL=en_US.UTF-8 from the system. This inconsistency leads the tests to fail on platforms that do not know both en_US.UTF-8 and en_US.utf8 (thanks you, Yann Droneaud, for bringing this up with an initial patch). Instead, pick a locale with ".UTF-8" (with or without hyphen, spelled in either upper or lowercase) in its name from "locale -a" output, and use it for running the test. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.h')
0 files changed, 0 insertions, 0 deletions