From: Bruno Haible Date: Tue, 21 May 2024 21:10:37 +0000 (+0200) Subject: trim tests: Avoid test failure on Solaris 11 OmniOS. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=7a5a2b0d6eaf3ee65976b52a836f1d06bc19ca97;p=gnulib.git trim tests: Avoid test failure on Solaris 11 OmniOS. * tests/test-trim.c (main): Skip the failing test on Illumos. --- diff --git a/ChangeLog b/ChangeLog index 1dd38d2fb4..099a249271 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-05-21 Bruno Haible + + trim tests: Avoid test failure on Solaris 11 OmniOS. + * tests/test-trim.c (main): Skip the failing test on Illumos. + 2024-05-21 Bruno Haible mcel tests: Run the test in several locales. diff --git a/tests/test-trim.c b/tests/test-trim.c index beda03009a..e765f23109 100644 --- a/tests/test-trim.c +++ b/tests/test-trim.c @@ -144,7 +144,7 @@ main (int argc, char *argv[]) free (result); } #endif - #if !(defined __FreeBSD__ || defined __DragonFly__) + #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __illumos__) { /* U+3000 IDEOGRAPHIC SPACE */ char *result = trim ("\241\241\241\244foo\241\241"); ASSERT (strcmp (result, "\241\244foo") == 0);