Skip to contentSkip to conversation

t0204-gettext-reencode-sanity.sh broken on Mac OS

PATCH Torsten Bögershausen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

t0204-gettext-reencode-sanity.sh broken on Mac OS, Git 1.7.9.2

Please see the sniplet when I run it under Mac OS 10.8:

/Torsten

expecting success:
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

runes 2012-03-04 19:03:26.000000000 +0000 renamed from runes-expect 2012-03-04 19:03:26.000000000 +0000 +1 -1
@@ -1 +1 @@
-TILRAUN: ?? ???? ??? ?? ???? ?? ??? ????? ??????????? ??? ?? ????
\ No newline at end of file
+TILRAUN: ᚻᛖ ᚳᚹᚫᚦ ᚦᚫᛏ ᚻᛖ ᛒᚢᛞᛖ ᚩᚾ ᚦᚫᛗ ᛚᚪᚾᛞᛖ ᚾᚩᚱᚦᚹᛖᚪᚱᛞᚢᛗ ᚹᛁᚦ ᚦᚪ ᚹᛖᛥᚫ
\ No newline at end of file

not ok - 4 gettext: Emitting ISO-8859-1 from our UTF-8 *.mo files / Runes #