bug#79300: fold-nbsp test failure

Bruno Haible via GNU coreutils Bug Reports <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization GNU
Message-ID <11068395.Sk1xreqyvH@nimes>
Today's CI run reports
  FAIL: tests/fold/fold-nbsp
on NetBSD 10 and Solaris 11.4.

The log output in both cases is:

FAIL: tests/fold/fold-nbsp
==========================

--- exp1	2025-08-24 06:57:52.605590760 +0000
+++ out1	2025-08-24 06:57:52.607333160 +0000
@@ -1,3 +1,3 @@
 abcdefghij
-klmnop qrs
-tuvwxyz
+klmnop 
+qrstuvwxyz
--- exp2	2025-08-24 06:57:52.613841250 +0000
+++ out2	2025-08-24 06:57:52.615577504 +0000
@@ -1,3 +1,3 @@
 abcdefghij
-klmnop  qr
-stuvwxyz
+klmnop  
+qrstuvwxyz
FAIL tests/fold/fold-nbsp.sh (exit status: 1)


It looks like the &nbsp; character has been treated like a space.
If you need a correction at the Gnulib level (in the functions iswblank,
iswspace, c32isblank, or c32isspace), please report this to bug-gnulib.
Alternatively, you may declare this a "quality of implementation" issue
and simply disable the test on NetBSD and Solaris.

Bruno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.