Module Name: src Committed By: martin Date: Thu Mar 15 09:55:23 UTC 2018
Modified Files: src/tests/lib/libc/locale [netbsd-8]: t_btowc.c t_io.c t_mbrtowc.c t_mbstowcs.c t_sprintf.c t_wcstod.c t_wctomb.c t_wctype.c Log Message: Pull up following revision(s) (requested by maya in ticket #608): tests/lib/libc/locale/t_sprintf.c: revision 1.3 tests/lib/libc/locale/t_wctomb.c: revision 1.5 tests/lib/libc/locale/t_io.c: revision 1.5 tests/lib/libc/locale/t_wcstod.c: revision 1.4 tests/lib/libc/locale/t_mbstowcs.c: revision 1.2 tests/lib/libc/locale/t_wctype.c: revision 1.2 tests/lib/libc/locale/t_mbrtowc.c: revision 1.2 tests/lib/libc/locale/t_btowc.c: revision 1.2 tests/lib/libc/locale/t_btowc.c: revision 1.3 Add ISO10646 versions of these tests, conditional on __STDC_ISO_10646__ . Also make the tests a bit more verbose, to aid debugging when they fail. Separate the C/POSIX locale test from the rest; make it more thorough and more correct. This fixes a problem reported by martin@ when the test is compiled with -funsigned-char. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.2.1 src/tests/lib/libc/locale/t_btowc.c \ src/tests/lib/libc/locale/t_wctype.c cvs rdiff -u -r1.4 -r1.4.20.1 src/tests/lib/libc/locale/t_io.c cvs rdiff -u -r1.1 -r1.1.34.1 src/tests/lib/libc/locale/t_mbrtowc.c \ src/tests/lib/libc/locale/t_mbstowcs.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/tests/lib/libc/locale/t_sprintf.c cvs rdiff -u -r1.3 -r1.3.34.1 src/tests/lib/libc/locale/t_wcstod.c cvs rdiff -u -r1.4 -r1.4.2.1 src/tests/lib/libc/locale/t_wctomb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.