summaryrefslogtreecommitdiff
path: root/thread-utils.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-06-02 12:15:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-02 12:15:48 -0700
commit2de03ebe0635c93e182c3367140f999e79bdadcd (patch)
tree27cf5e91aa364aa4e691c1222926ef1403af8642 /thread-utils.c
parentMerge branch 'maint-1.7.0' into maint (diff)
downloadtgif-2de03ebe0635c93e182c3367140f999e79bdadcd.tar.xz
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 'thread-utils.c')
0 files changed, 0 insertions, 0 deletions