]> Savannah Git Hosting - gnulib.git/commitdiff
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 f51d0e7ed14560c917b2f072a519217108cdb5c2..21015d2feedc58308931164bf7e55f667855bf3b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
index 9125800f6bc0dd5fc7722c15d223038116e74b75..a43c08057cb06295059043270ec42bac6b35c23e 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, ""));