Re: [PATCH/RFC] Change t0204-gettext-reencode-sanity.sh to pass under Mac OSX
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Mar 8, 2012, 09:21 UTC
- Message-ID
- <2412B623-E91D-44E6-8E08-97AE8CD9B978@web.de>
- In-Reply-To
- <4F585E70.90302@viscovery.net>
Am 08.03.2012 um 08:23 schrieb Johannes Sixt:
Show 12 quoted lines
> Am 3/8/2012 6:54, schrieb Torsten Bögershausen: >> On 08.03.12 00:36, Junio C Hamano wrote: >>> test_expect_success GETTEXT_ISO_LOCALE 'gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Runes' ' > >> ok 4 # skip gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Runes (missing GETTEXT_ISO_LOCALE) > ^^^^ > Huh? How can you have tripped over this test in the first place? The > prerequisite did not change in Junio's patch. Why was the test not skipped > before you started this thread with your own patch? > > -- Hannes >
Hm, things are getting confusing.
After re-booting the machine, cloning git ... I get the following on a clean 1.7.10-rc0 (without Junios patch):
tb@birne:~/projects/git/git_clean/t> ./t0204-gettext-reencode-sanity.sh # lib-gettext: No is_IS UTF-8 locale available # lib-gettext: No is_IS ISO-8859-1 locale available ok 1 # skip gettext: Emitting UTF-8 from our UTF-8 *.mo files / Icelandic (missing GETTEXT_LOCALE) ok 2 # skip gettext: Emitting UTF-8 from our UTF-8 *.mo files / Runes (missing GETTEXT_LOCALE) ok 3 # skip gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Icelandic (missing GETTEXT_ISO_LOCALE) ok 4 # skip gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Runes (missing GETTEXT_ISO_LOCALE) ok 5 # skip gettext: Fetching a UTF-8 msgid -> UTF-8 (missing GETTEXT_LOCALE) ok 6 # skip gettext: Fetching a UTF-8 msgid -> ISO-8859-1 (missing GETTEXT_ISO_LOCALE) ok 7 # skip gettext.c: git init UTF-8 -> UTF-8 (missing GETTEXT_LOCALE) ok 8 # skip gettext.c: git init UTF-8 -> ISO-8859-1 (missing GETTEXT_ISO_LOCALE) # passed all 8 test(s) 1..8
on 5e9637c629702e3d41ad01d95956d1835 the log looks like this:
tb@birne:~/projects/git/git_clean/t> ./t0204-gettext-reencode-sanity.sh # lib-gettext: Found 'is_IS.UTF-8' as an is_IS UTF-8 locale # lib-gettext: Found 'is_IS.ISO8859-1' as an is_IS ISO-8859-1 locale ok 1 - gettext: Emitting UTF-8 from our UTF-8 *.mo files / Icelandic ok 2 - gettext: Emitting UTF-8 from our UTF-8 *.mo files / Runes ok 3 - gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Icelandic ok 4 - gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Runes ok 5 - gettext: Fetching a UTF-8 msgid -> UTF-8 ok 6 - gettext: Fetching a UTF-8 msgid -> ISO-8859-1 ok 7 - gettext.c: git init UTF-8 -> UTF-8 ok 8 - gettext.c: git init UTF-8 -> ISO-8859-1 # passed all 8 test(s) 1..8 tb@birne:~/projects/git/git_clean/t>
At the moment I would like to say sorry for the noise. If somebody is interested. I can dig into details later this evening (european time) /Torsten