]> Savannah Git Hosting - gnulib.git/commitdiff
c32ispunct tests: Avoid a test failure on Solaris 11 OmniOS.
authorBruno Haible <bruno@clisp.org>
Sun, 9 Jun 2024 17:32:34 +0000 (19:32 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 13 Jun 2024 15:11:46 +0000 (17:11 +0200)
* tests/test-c32ispunct.c (main): On Solaris, disable two tests that
fail in the zh_CN.GB18030 locale on Solaris 11 OmniOS.

ChangeLog
tests/test-c32ispunct.c

index fe3cae06d92812f3c37ba4d0d6cac74d3d459bb9..dca95ffb3ab6f9327abe283126c8defc1b395a6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-09  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        c32rtomb: Add a sanity check, working around Solaris 11 OmniOS.
index b05ec7caa7e3bd12262edba621e8ead39255beaf..ac2e7d3e7a0375b50e7d59334bee36d3cd1fd287 100644 (file)
@@ -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);