diff options
author | Bruno Haible <bruno@clisp.org> | 2005-11-22 11:51:41 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:12:56 +0200 |
commit | e042cd3cce6882a0dfbb36611103bb8e435abdd1 (patch) | |
tree | 9cdfd32b2532f6886b74323fbfacab60a9c52c9a /gettext-tools | |
parent | db7bfca117dcbe65e0ba9d3002534f7e8d628898 (diff) | |
download | external_gettext-e042cd3cce6882a0dfbb36611103bb8e435abdd1.zip external_gettext-e042cd3cce6882a0dfbb36611103bb8e435abdd1.tar.gz external_gettext-e042cd3cce6882a0dfbb36611103bb8e435abdd1.tar.bz2 |
Avoid test failure if a locale is missing.
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/tests/ChangeLog | 4 | ||||
-rwxr-xr-x | gettext-tools/tests/gettext-4 | 3 |
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 |