mirror of
https://github.com/git/git.git
synced 2026-02-23 08:11:05 +00:00
Merge branch 'tb/maint-remove-irrelevant-i18n-test' into next
By Torsten Bögershausen * tb/maint-remove-irrelevant-i18n-test: t0204: remove a test that checks undefined behaviour
This commit is contained in:
@@ -26,20 +26,6 @@ test_expect_success GETTEXT_ISO_LOCALE 'gettext: Emitting ISO-8859-1 from our UT
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success GETTEXT_ISO_LOCALE 'gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Runes' '
|
||||
LANGUAGE=is LC_ALL="$is_IS_iso_locale" gettext "TEST: Old English Runes" >runes &&
|
||||
|
||||
if grep "^TEST: Old English Runes$" runes
|
||||
then
|
||||
say "Your system can not handle this complexity and returns the string as-is"
|
||||
else
|
||||
# Both Solaris and GNU libintl will return this stream of
|
||||
# question marks, so it is s probably portable enough
|
||||
printf "TILRAUN: ?? ???? ??? ?? ???? ?? ??? ????? ??????????? ??? ?? ????" >runes-expect &&
|
||||
test_cmp runes-expect runes
|
||||
fi
|
||||
'
|
||||
|
||||
test_expect_success GETTEXT_LOCALE 'gettext: Fetching a UTF-8 msgid -> UTF-8' '
|
||||
printf "TILRAUN: ‚einfaldar‘ og „tvöfaldar“ gæsalappir" >expect &&
|
||||
LANGUAGE=is LC_ALL="$is_IS_locale" gettext "TEST: ‘single’ and “double” quotes" >actual &&
|
||||
|
||||
Reference in New Issue
Block a user