diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-06-02 12:15:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-02 12:15:48 -0700 |
commit | 2de03ebe0635c93e182c3367140f999e79bdadcd (patch) | |
tree | 27cf5e91aa364aa4e691c1222926ef1403af8642 /Documentation | |
parent | Merge branch 'maint-1.7.0' into maint (diff) | |
download | tgif-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 'Documentation')
0 files changed, 0 insertions, 0 deletions