From: Bruno Haible Date: Sun, 30 Sep 2012 21:39:03 +0000 (+0200) Subject: localeconv tests: Avoid test failure on OpenIndiana. X-Git-Tag: v0.1~413 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=bbca62715f5400cb67443c4c3f1aaa001f5d835a;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index f51d0e7ed1..21015d2fee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-09-30 Bruno Haible + + 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 havelib: Follow libtool developments. diff --git a/tests/test-localeconv.c b/tests/test-localeconv.c index 9125800f6b..a43c08057c 100644 --- a/tests/test-localeconv.c +++ b/tests/test-localeconv.c @@ -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, ""));