localeconv tests: Avoid test failure on OpenIndiana.
authorBruno Haible <bruno@clisp.org>
Sun, 30 Sep 2012 21:39:03 +0000 (23:39 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 30 Sep 2012 21:39:34 +0000 (23:39 +0200)
* tests/test-localeconv.c (main): On OpenIndiana (a Solaris 11 variant)
skip the 'grouping' and 'mon_grouping' tests.
Reported by Jim Meyering.

ChangeLog
tests/test-localeconv.c

index f51d0e7..21015d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-09-30  Bruno Haible  <bruno@clisp.org>
 
+       localeconv tests: Avoid test failure on OpenIndiana.
+       * tests/test-localeconv.c (main): On OpenIndiana (a Solaris 11 variant)
+       skip the 'grouping' and 'mon_grouping' tests.
+       Reported by Jim Meyering.
+
+2012-09-30  Bruno Haible  <bruno@clisp.org>
+
        havelib: Follow libtool developments.
        * m4/lib-ld.m4: Rebase on libtool.m4 from libtool-2.4.
        Suggested by Simon Josefsson.
index 9125800..a43c080 100644 (file)
@@ -37,13 +37,13 @@ main ()
 
     ASSERT (STREQ (l->decimal_point, "."));
     ASSERT (STREQ (l->thousands_sep, ""));
-#if !defined __FreeBSD__
+#if !(defined __FreeBSD__ || defined __sun)
     ASSERT (STREQ (l->grouping, ""));
 #endif
 
     ASSERT (STREQ (l->mon_decimal_point, ""));
     ASSERT (STREQ (l->mon_thousands_sep, ""));
-#if !defined __FreeBSD__
+#if !(defined __FreeBSD__ || defined __sun)
     ASSERT (STREQ (l->mon_grouping, ""));
 #endif
     ASSERT (STREQ (l->positive_sign, ""));