mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 03:47:16 +02:00
70 lines
2.2 KiB
Diff
70 lines
2.2 KiB
Diff
As upstream notes:
|
||
|
||
# Note: This test fails on Linux with musl libc versions that don't support
|
||
# the BIG5 encoding in 'iconv'.
|
||
|
||
diff --git a/gettext-tools/tests/msgcat-22 b/gettext-tools/tests/msgcat-22
|
||
index 6047188..abe5877 100755
|
||
--- a/gettext-tools/tests/msgcat-22
|
||
+++ b/gettext-tools/tests/msgcat-22
|
||
@@ -6,6 +6,8 @@
|
||
# Note: This test fails on Linux with musl libc versions that don't support
|
||
# the GB18030 encoding in 'iconv'.
|
||
|
||
+exit 77
|
||
+
|
||
cat <<\EOF > mcat-test22.po
|
||
msgid ""
|
||
msgstr ""
|
||
diff --git a/gettext-tools/tests/msgconv-2 b/gettext-tools/tests/msgconv-2
|
||
index d286cda..d96c487 100755
|
||
--- a/gettext-tools/tests/msgconv-2
|
||
+++ b/gettext-tools/tests/msgconv-2
|
||
@@ -7,6 +7,8 @@
|
||
# Note: This test fails on Linux with musl libc versions that don't support
|
||
# the BIG5 encoding in 'iconv'.
|
||
|
||
+Exit 77
|
||
+
|
||
cat <<\EOF > mco-test2.po
|
||
# Chinese translation for GNU gettext messages.
|
||
#
|
||
diff --git a/gettext-tools/tests/msgconv-8 b/gettext-tools/tests/msgconv-8
|
||
index 207b0f0..618de0f 100755
|
||
--- a/gettext-tools/tests/msgconv-8
|
||
+++ b/gettext-tools/tests/msgconv-8
|
||
@@ -6,6 +6,8 @@
|
||
# Note: This test fails on Linux with musl libc versions that don't support
|
||
# the GB18030 encoding in 'iconv'.
|
||
|
||
+exit 77
|
||
+
|
||
cat <<\EOF > mco-test8.po
|
||
msgid ""
|
||
msgstr ""
|
||
diff --git a/gettext-tools/tests/msgmerge-compendium-6 b/gettext-tools/tests/msgmerge-compendium-6
|
||
index 59eb00e..c4be0b2 100755
|
||
--- a/gettext-tools/tests/msgmerge-compendium-6
|
||
+++ b/gettext-tools/tests/msgmerge-compendium-6
|
||
@@ -10,6 +10,8 @@
|
||
# Note: This test fails on Linux with musl libc versions and on Solaris 11
|
||
# (OpenIndiana, OmniOS) that don't support the EUC-KR encoding in 'iconv'.
|
||
|
||
+Exit 77
|
||
+
|
||
: ${MSGCONV=msgconv}
|
||
${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot "$wabs_srcdir"/mm-ko.ascii.pot
|
||
|
||
diff --git a/gettext-tools/tests/xgettext-python-3 b/gettext-tools/tests/xgettext-python-3
|
||
index 1e13b57..7cd480d 100755
|
||
--- a/gettext-tools/tests/xgettext-python-3
|
||
+++ b/gettext-tools/tests/xgettext-python-3
|
||
@@ -6,6 +6,8 @@
|
||
# Note: This test fails on Linux with musl libc versions that don't support
|
||
# the EUC-JP encoding in 'iconv'.
|
||
|
||
+Exit 77
|
||
+
|
||
cat <<\EOF > xg-py-3a.py
|
||
#!/usr/bin/env python
|
||
# TRANSLATORS: Fran<61><6E><EFBFBD>ois Pinard is a hero.
|