From e4c43727d55c9ff656d0569a0cb61d38c99b0712 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 Jun 2024 19:32:34 +0200 Subject: [PATCH] c32ispunct tests: Avoid a test failure on Solaris 11 OmniOS. * tests/test-c32ispunct.c (main): On Solaris, disable two tests that fail in the zh_CN.GB18030 locale on Solaris 11 OmniOS. --- ChangeLog | 6 ++++++ tests/test-c32ispunct.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fe3cae06d9..dca95ffb3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-06-09 Bruno Haible + + c32ispunct tests: Avoid a test failure on Solaris 11 OmniOS. + * tests/test-c32ispunct.c (main): On Solaris, disable two tests that + fail in the zh_CN.GB18030 locale on Solaris 11 OmniOS. + 2024-06-09 Bruno Haible c32rtomb: Add a sanity check, working around Solaris 11 OmniOS. diff --git a/tests/test-c32ispunct.c b/tests/test-c32ispunct.c index b05ec7caa7..ac2e7d3e7a 100644 --- a/tests/test-c32ispunct.c +++ b/tests/test-c32ispunct.c @@ -266,7 +266,7 @@ main (int argc, char *argv[]) is = for_character ("\201\060\206\067", 4); ASSERT (is != 0); #endif - #if !(defined __FreeBSD__ || defined __DragonFly__) + #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun) /* U+00D7 MULTIPLICATION SIGN */ is = for_character ("\241\301", 2); ASSERT (is != 0); @@ -285,7 +285,7 @@ main (int argc, char *argv[]) is = for_character ("\201\060\374\067", 4); ASSERT (is != 0); #endif - #if !(defined __FreeBSD__ || defined __DragonFly__) + #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun) /* U+2192 RIGHTWARDS ARROW */ is = for_character ("\241\372", 2); ASSERT (is != 0); -- 2.39.5