changeset 17116:d45221b76b37

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.
author Bruno Haible <bruno@clisp.org>
date Sun, 30 Sep 2012 23:39:03 +0200
parents 6eb4c29cf972
children 622e1fb82f06
files ChangeLog tests/test-localeconv.c
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Sep 30 23:21:26 2012 +0200
+++ b/ChangeLog	Sun Sep 30 23:39:03 2012 +0200
@@ -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.
--- a/tests/test-localeconv.c	Sun Sep 30 23:21:26 2012 +0200
+++ b/tests/test-localeconv.c	Sun Sep 30 23:39:03 2012 +0200
@@ -37,13 +37,13 @@
 
     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, ""));