]> Savannah Git Hosting - gnulib.git/commitdiff
trim tests: Avoid test failure on Solaris 11 OmniOS.
authorBruno Haible <bruno@clisp.org>
Tue, 21 May 2024 21:10:37 +0000 (23:10 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 21 May 2024 21:10:37 +0000 (23:10 +0200)
* tests/test-trim.c (main): Skip the failing test on Illumos.

ChangeLog
tests/test-trim.c

index 1dd38d2fb4bc991918c67d8415a8d6a2d16b6594..099a2492714a2222325119d5031c4c498c2e22fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-05-21  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        mcel tests: Run the test in several locales.
index beda03009a3eca37fa83c0733348c9f9e10aa5b3..e765f23109dbe6a362ee00c11261a864c8babc88 100644 (file)
@@ -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);