From: "Torsten Bögershausen" <tboegi@web.de>
To: semtlenori@gmail.com, "Torsten Bögershausen" <tboegi@web.de>,
"Michael Blume" <blume.mike@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>, Git List <git@vger.kernel.org>
Subject: Re: Accept-language test fails on Mac OS
Date: Sat, 06 Dec 2014 22:04:06 +0100 [thread overview]
Message-ID: <54836F46.9080009@web.de> (raw)
In-Reply-To: <CAFT+Tg_4EJ15CmujDtcubfw+0rr2J=pbjccqSSs9tmj-rz6+eQ@mail.gmail.com>
On 2014-12-06 20.44, Yi, EungJun wrote:
> Could you tell me your locale information from executing 'locale'
> command and the verbose message you can get by accessing any git
> repository via HTTP protocol? (e.g. GIT_CURL_VERBOSE=1 git clone
> http://github.com/foo/bar )
locale -a
C
C.UTF-8
en_US.utf8
icelandic
is_IS
is_IS.iso88591
is_IS.utf8
POSIX
-----------------------------
After patching like this:
diff --git a/t/t5550-http-fetch-dumb.sh b/t/t5550-http-fetch-dumb.sh
index fc6e7fc..1e42b42 100755
--- a/t/t5550-http-fetch-dumb.sh
+++ b/t/t5550-http-fetch-dumb.sh
@@ -205,8 +205,8 @@ check_language () {
LANG=$5 \
git ls-remote "$HTTPD_URL/dumb/repo.git" 2>&1 |
tr -d '\015' |
- sort -u >stderr &&
- grep -i ^Accept-Language: stderr >actual &&
+ sort -u >stderr
+ grep -i ^Accept-Language: stderr >actual
test_cmp expect actual
}
-----------
I get this:
expecting success:
check_language "ko-KR, *;q=0.1" ko_KR.UTF-8 de_DE.UTF-8 ja_JP.UTF-8 en_US.UTF-8 &&
check_language "de-DE, *;q=0.1" "" de_DE.UTF-8 ja_JP.UTF-8 en_US.UTF-8 &&
check_language "ja-JP, *;q=0.1" "" "" ja_JP.UTF-8 en_US.UTF-8 &&
check_language "en-US, *;q=0.1" "" "" "" en_US.UTF-8
--- expect 2014-12-06 21:00:59.000000000 +0000
+++ actual 2014-12-06 21:00:59.000000000 +0000
@@ -1 +0,0 @@
-Accept-Language: de-DE, *;q=0.1
not ok 25 - git client sends Accept-Language based on LANGUAGE, LC_ALL, LC_MESSAGES and LANG
#
# check_language "ko-KR, *;q=0.1" ko_KR.UTF-8 de_DE.UTF-8 ja_JP.UTF-8 en_US.UTF-8 &&
# check_language "de-DE, *;q=0.1" "" de_DE.UTF-8 ja_JP.UTF-8 en_US.UTF-8 &&
# check_language "ja-JP, *;q=0.1" "" "" ja_JP.UTF-8 en_US.UTF-8 &&
# check_language "en-US, *;q=0.1" "" "" "" en_US.UTF-8
#
next prev parent reply other threads:[~2014-12-06 21:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-05 22:35 Accept-language test fails on Mac OS Michael Blume
2014-12-05 22:51 ` Junio C Hamano
2014-12-05 23:01 ` Michael Blume
2014-12-06 9:50 ` Torsten Bögershausen
2014-12-06 19:44 ` Yi, EungJun
2014-12-06 21:04 ` Torsten Bögershausen [this message]
2014-12-07 6:54 ` Yi, EungJun
2014-12-07 9:56 ` Torsten Bögershausen
2014-12-07 7:18 ` Jeff King
2014-12-07 10:03 ` Torsten Bögershausen
2014-12-08 15:51 ` Christian Couder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54836F46.9080009@web.de \
--to=tboegi@web.de \
--cc=blume.mike@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=semtlenori@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.