]> Savannah Git Hosting - gnulib.git/commitdiff
fnmatch tests: Avoid test failure on OmniOS.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 21 May 2024 09:40:14 +0000 (02:40 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 21 May 2024 09:40:14 +0000 (02:40 -0700)
Using the GB18030 locale OmniOS doesn't match U+00D7 MULTIPLICATION SIGN
as a punctuation character.

* tests/test-fnmatch.c (main): Skip the test. Discovered by CI test
using OmniOS r151048 and reproduced on OmniOS r151050.

ChangeLog
tests/test-fnmatch.c

index 256b56580ce50080fdd5fa6a5a93ea50280202ae..f1e50515596c722b1f7a923d5d86b02ef68d2acb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-05-21  Collin Funk  <collin.funk1@gmail.com>
+
+       fnmatch tests: Avoid test failure on OmniOS.
+       Using the GB18030 locale OmniOS doesn't match U+00D7 MULTIPLICATION SIGN
+       as a punctuation character.
+       * tests/test-fnmatch.c (main): Skip the test. Discovered by CI test
+       using OmniOS r151048 and reproduced on OmniOS r151050.
+
 2024-05-20  Bruno Haible  <bruno@clisp.org>
 
        vasnprintf: Don't abort for pseudo-denormal arguments on macOS 12.
index 588d76646ec3264175b48bbbd716de442edd608c..96e2d1f949d8a0634bc344c25836fad69c97c099 100644 (file)
@@ -893,7 +893,7 @@ main (int argc, char *argv[])
         /* U+20000 <CJK Ideograph> */
         ASSERT (fnmatch ("x[[:print:]]y", "x\225\062\202\066y", 0) == 0);
         #endif
-        #if !(defined __FreeBSD__ || defined __DragonFly__)
+        #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __illumos__)
         /* U+00D7 MULTIPLICATION SIGN */
         ASSERT (fnmatch ("x[[:punct:]]y", "x\241\301y", 0) == 0);
         #endif