summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/tests/ChangeLog4
-rwxr-xr-xgettext-tools/tests/gettext-43
2 files changed, 7 insertions, 0 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog
index 9872471..500e82b 100644
--- a/gettext-tools/tests/ChangeLog
+++ b/gettext-tools/tests/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-21 Bruno Haible <bruno@clisp.org>
+
+ * gettext-4: Skip the test if there is no de_DE.ISO-8859-1 locale.
+
2005-10-18 Bruno Haible <bruno@clisp.org>
* xgettext-c-11: New file.
diff --git a/gettext-tools/tests/gettext-4 b/gettext-tools/tests/gettext-4
index afe855d..aa3332b 100755
--- a/gettext-tools/tests/gettext-4
+++ b/gettext-tools/tests/gettext-4
@@ -5,6 +5,9 @@
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
+# This test works only on systems that have a de_DE.ISO-8859-1 locale installed.
+LC_ALL=de_DE.ISO-8859-1 ./testlocale || exit 77
+
tmpfiles="$tmpfiles de_DE"
test -d de_DE || mkdir de_DE
test -d de_DE/LC_MESSAGES || mkdir de_DE/LC_MESSAGES