From d7beec8902330587cda62af308d1ea629b883d7d Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Tue, 21 May 2024 02:40:14 -0700 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ tests/test-fnmatch.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 256b56580c..f1e5051559 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2024-05-21 Collin Funk + + 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 vasnprintf: Don't abort for pseudo-denormal arguments on macOS 12. diff --git a/tests/test-fnmatch.c b/tests/test-fnmatch.c index 588d76646e..96e2d1f949 100644 --- a/tests/test-fnmatch.c +++ b/tests/test-fnmatch.c @@ -893,7 +893,7 @@ main (int argc, char *argv[]) /* U+20000 */ 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 -- 2.45.1