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: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=bbca62715f5400cb67443c4c3f1aaa001f5d835a 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 f51d0e7ed..21015d2fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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. * m4/lib-ld.m4: Rebase on libtool.m4 from libtool-2.4. Suggested by Simon Josefsson. diff --git a/tests/test-localeconv.c b/tests/test-localeconv.c index 9125800f6..a43c08057 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, ""));