summaryrefslogtreecommitdiff
path: root/tests/localization.at
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-06-14 11:35:59 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-06-14 11:35:59 +0200
commit8a08afac5d4f560a0fdd53611e9db680a3a5145c (patch)
tree15e29b3e299ee530f196771c8cc6f1c84b732ab9 /tests/localization.at
parentb04fe8e6da2b5bed914911bfd8567ba9e93da40b (diff)
downloadlibtool-8a08afac5d4f560a0fdd53611e9db680a3a5145c.tar.gz
Avoid spurious localization testsuite failure on HP-UX/ia64.
* tests/localization.at (localized compiler messages): Skip test if the compiler warning output contains `locale', for HP-UX. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/localization.at')
-rw-r--r--tests/localization.at11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/localization.at b/tests/localization.at
index 1d689aac..71cdad4c 100644
--- a/tests/localization.at
+++ b/tests/localization.at
@@ -49,9 +49,16 @@ AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC $CPPFLAGS $CFLAGS -c a.c || exit
[1], [stdout], [stderr])
LT_AT_NORMALIZE_COMPILER_OUTPUT([stdout], [libtool-stdout])
LT_AT_NORMALIZE_COMPILER_OUTPUT([stderr], [libtool-stderr])
-# Avoid this error:
+# Avoid these errors:
+# GNU/Linux:
# /bin/sh: warning: setlocale: LC_ALL: cannot change locale (de_DE)
-AT_CHECK([grep LC_ALL stdout stderr && exit 77], [1])
+# HP-UX:
+# Warning! One or more of your selected locales are not available.
+# Please invoke the commands "locale" and "locale -a" to verify your
+# selections and the available locales.
+#
+# Continuing processing using the "C" locale.
+AT_CHECK([grep locale stdout stderr && exit 77], [1])
AT_CHECK([diff expected-stderr libtool-stderr])
AT_CHECK([diff expected-stdout libtool-stdout])