CVS commit: src/tests/lib/libc/locale

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Fri Jun 26 22:36:23 UTC 2026

Modified Files:
	src/tests/lib/libc/locale: t_mbrtowc.c

Log Message:
t_mbrtowc: Mark UTF-8 test cases xfail.

mbrtowc previously failed to reject invalid (legacy 5/6-byte) UTF-8,
so it accepted this test case.  Now it rejects this test case,
because the test case itself is broken.

Need to split this test up into:

1. correctly decoding the valid inputs
2. correctly rejecting the invalid inputs

But for now marking the test case xfail is an adequate approximation
to the more complicated truth.

PR lib/60369: mbrtowc, mbrlen have wrong return value for some
invalid byte sequences: Invalid sequence


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/locale/t_mbrtowc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
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.