about summary refs log tree commit diff
path: root/localedata/tests-mbwc
Commit message (Collapse)AuthorAgeFilesLines
* * tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg. Andreas Jaeger2000-08-1852-2393/+2390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (TST_DECL_VARS): Don't declare err_flg. (TST_GET_ERRET): Don't set err_flg. (TST_GET_ERRET_SEQ): Likewise. (TST_IF_RETURN): Don't use err_flg, check err_exp directly. * tests-mbwc/dat_swscanf.c: Don't set err_flg. * tests-mbwc/dat_iswalnum.c: Likewise. * tests-mbwc/dat_iswalpha.c: Likewise. * tests-mbwc/dat_iswcntrl.c: Likewise. * tests-mbwc/dat_iswctype.c: Likewise. * tests-mbwc/dat_iswdigit.c: Likewise. * tests-mbwc/dat_iswgraph.c: Likewise. * tests-mbwc/dat_iswlower.c: Likewise. * tests-mbwc/dat_iswprint.c: Likewise. * tests-mbwc/dat_iswpunct.c: Likewise. * tests-mbwc/dat_iswspace.c: Likewise. * tests-mbwc/dat_iswupper.c: Likewise. * tests-mbwc/dat_iswxdigit.c: Likewise. * tests-mbwc/dat_mblen.c: Likewise. * tests-mbwc/dat_mbrlen.c: Likewise. * tests-mbwc/dat_mbrtowc.c: Likewise. * tests-mbwc/dat_mbsrtowcs.c: Likewise. * tests-mbwc/dat_mbstowcs.c: Likewise. * tests-mbwc/dat_mbtowc.c: Likewise. * tests-mbwc/dat_strcoll.c: Likewise. * tests-mbwc/dat_strfmon.c: Likewise. * tests-mbwc/dat_strxfrm.c: Likewise. * tests-mbwc/dat_swscanf.c: Likewise. * tests-mbwc/dat_towctrans.c: Likewise. * tests-mbwc/dat_towlower.c: Likewise. * tests-mbwc/dat_towupper.c: Likewise. * tests-mbwc/dat_wcrtomb.c: Likewise. * tests-mbwc/dat_wcscat.c: Likewise. * tests-mbwc/dat_wcschr.c: Likewise. * tests-mbwc/dat_wcscmp.c: Likewise. * tests-mbwc/dat_wcscoll.c: Likewise. * tests-mbwc/dat_wcscpy.c: Likewise. * tests-mbwc/dat_wcscspn.c: Likewise. * tests-mbwc/dat_wcslen.c: Likewise. * tests-mbwc/dat_wcsncat.c: Likewise. * tests-mbwc/dat_wcsncmp.c: Likewise. * tests-mbwc/dat_wcsncpy.c: Likewise. * tests-mbwc/dat_wcspbrk.c: Likewise. * tests-mbwc/dat_wcsrtombs.c: Likewise. * tests-mbwc/dat_wcsspn.c: Likewise. * tests-mbwc/dat_wcsstr.c: Likewise. * tests-mbwc/dat_wcstod.c: Likewise. * tests-mbwc/dat_wcstok.c: Likewise. * tests-mbwc/dat_wcstombs.c: Likewise. * tests-mbwc/dat_wcswidth.c: Likewise. * tests-mbwc/dat_wcsxfrm.c: Likewise. * tests-mbwc/dat_wctob.c: Likewise. * tests-mbwc/dat_wctomb.c: Likewise. * tests-mbwc/dat_wctrans.c: Likewise. * tests-mbwc/dat_wctype.c: Likewise. * tests-mbwc/dat_wcwidth.c: Likewise. * tests-mbwc/dat_isw-funcs.h: Fix comment. 2000-08-18 Andreas Jaeger <aj@suse.de> * tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg. (TST_DECL_VARS): Don't declare err_flg. (TST_GET_ERRET): Don't set err_flg. (TST_GET_ERRET_SEQ): Likewise. (TST_IF_RETURN): Don't use err_flg, check err_exp directly. * tests-mbwc/dat_swscanf.c: Don't set err_flg. * tests-mbwc/dat_iswalnum.c: Likewise. * tests-mbwc/dat_iswalpha.c: Likewise. * tests-mbwc/dat_iswcntrl.c: Likewise. * tests-mbwc/dat_iswctype.c: Likewise. * tests-mbwc/dat_iswdigit.c: Likewise. * tests-mbwc/dat_iswgraph.c: Likewise. * tests-mbwc/dat_iswlower.c: Likewise. * tests-mbwc/dat_iswprint.c: Likewise. * tests-mbwc/dat_iswpunct.c: Likewise. * tests-mbwc/dat_iswspace.c: Likewise. * tests-mbwc/dat_iswupper.c: Likewise. * tests-mbwc/dat_iswxdigit.c: Likewise. * tests-mbwc/dat_mblen.c: Likewise. * tests-mbwc/dat_mbrlen.c: Likewise. * tests-mbwc/dat_mbrtowc.c: Likewise. * tests-mbwc/dat_mbsrtowcs.c: Likewise. * tests-mbwc/dat_mbstowcs.c: Likewise. * tests-mbwc/dat_mbtowc.c: Likewise. * tests-mbwc/dat_strcoll.c: Likewise. * tests-mbwc/dat_strfmon.c: Likewise. * tests-mbwc/dat_strxfrm.c: Likewise. * tests-mbwc/dat_swscanf.c: Likewise. * tests-mbwc/dat_towctrans.c: Likewise. * tests-mbwc/dat_towlower.c: Likewise. * tests-mbwc/dat_towupper.c: Likewise. * tests-mbwc/dat_wcrtomb.c: Likewise. * tests-mbwc/dat_wcscat.c: Likewise. * tests-mbwc/dat_wcschr.c: Likewise. * tests-mbwc/dat_wcscmp.c: Likewise. * tests-mbwc/dat_wcscoll.c: Likewise. * tests-mbwc/dat_wcscpy.c: Likewise. * tests-mbwc/dat_wcscspn.c: Likewise. * tests-mbwc/dat_wcslen.c: Likewise. * tests-mbwc/dat_wcsncat.c: Likewise. * tests-mbwc/dat_wcsncmp.c: Likewise. * tests-mbwc/dat_wcsncpy.c: Likewise. * tests-mbwc/dat_wcspbrk.c: Likewise. * tests-mbwc/dat_wcsrtombs.c: Likewise. * tests-mbwc/dat_wcsspn.c: Likewise. * tests-mbwc/dat_wcsstr.c: Likewise. * tests-mbwc/dat_wcstod.c: Likewise. * tests-mbwc/dat_wcstok.c: Likewise. * tests-mbwc/dat_wcstombs.c: Likewise. * tests-mbwc/dat_wcswidth.c: Likewise. * tests-mbwc/dat_wcsxfrm.c: Likewise. * tests-mbwc/dat_wctob.c: Likewise. * tests-mbwc/dat_wctomb.c: Likewise. * tests-mbwc/dat_wctrans.c: Likewise. * tests-mbwc/dat_wctype.c: Likewise. * tests-mbwc/dat_wcwidth.c: Likewise. * tests-mbwc/dat_isw-funcs.h: Fix comment.
* * tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it Andreas Jaeger2000-08-171-1/+3
| | | | | | | | should have a value. 2000-08-17 Andreas Jaeger <aj@suse.de> * tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it should have a value.
* Update.Ulrich Drepper2000-08-021-26/+26
| | | | | | | 2000-08-02 Ulrich Drepper <drepper@redhat.com> * tests-mbwc/tst_types.h: Don't use `char' for types of any field, use `int'.
* Update.Ulrich Drepper2000-07-282-0/+17
| | | | | | | | | | | | | | | | | 2000-07-27 Bruno Haible <haible@clisp.cons.org> * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in _NL_CTYPE_MAP_NAMES. * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values. * wctype/wcfuncs.c (towlower, towupper): Use them. * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise. * wctype/wctrans.c (wctrans): Likewise. * wctype/wctrans_l.c (__wctrans_l): Likewise. 2000-07-27 Bruno Haible <haible@clisp.cons.org> * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun. Use the optimized version of this function outside glibc as well.
* Mark U0000 as cntrl and U00A0 not as space.Ulrich Drepper2000-07-183-11/+2
|
* Update.Ulrich Drepper2000-07-073-12/+7
| | | | | | | | 2000-07-07 Ulrich Drepper <drepper@redhat.com> * locale/programs/locale.c (write_locales): Don't simply add all directories found in the subdir, test whether at least the LC_CTYPE file is in there.
* Update.Ulrich Drepper2000-07-011-54/+0
| | | | | | | | | | | | * stdlib/strfmon.c: Move somewhat closer to the standard wrt to handling the internation currency symbol. POSIX says that the fourth character is used to separate the currency symbol from the value. Therefore it does not have to be printed. But we cannot remove the space if the currency symbol is printed before the number since this is what many locales expect. * localedata/tests-mbwc/dat_strfmon.c: Remove #ifdefs introduced to work around DEM problem. * localedata/tst-fmon.data: Change back entries with DEM.
* Update.Ulrich Drepper2000-06-296-16/+122
| | | | | | | | | | | | | | | | | 2000-06-29 Ulrich Drepper <drepper@redhat.com> * tst-fmon.data: Until we know what is correct, but the spaces after DEM back in. * tests-mbwc/dat_mbstowcs.c: Fix various bugs. Comment out unresolved issues. * tests-mbwc/dat_mbtowc.c: Likewise. * tests-mbwc/dat_strcoll.c: Likewise. * tests-mbwc/dat_strfmon.c: Likewise. * tests-mbwc/dat_strxfrm.c: Likewise. * tests-mbwc/tst_mbtowc.c: Likewise. ($(addsuffix .out,$(addprefix $(objpfx),$(locale_test_suite)))):
* Update.Andreas Jaeger2000-06-2916-0/+1911
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tst_mbrtowc-ENV): New. (tst_mbsrtowcs-ENV): New. (tst_mbstowcs-ENV): New. (tst_strfmon-ENV): New. (tst_wcrtomb-ENV): New. (tst_wcsrtombs-ENV): New. (tst_wcstod-ENV): New. (tst_wcstok-ENV): New. (tst_wcstombs-ENV): New. * tests-mbwc/dat_wcstok.c: Likewise. * tests-mbwc/tst_wcstok.c: Likewise. * tests-mbwc/dat_wcstod.c: Likewise. * tests-mbwc/tst_wcstod.c: Likewise. * tests-mbwc/dat_mbrtowc.c: Likewise. * tests-mbwc/tst_mbrtowc.c: Likewise. * tests-mbwc/dat_wcsrtombs.c: Likewise. * tests-mbwc/tst_wcsrtombs.c: Likewise. * tests-mbwc/dat_wcstombs.c: Likewise. * tests-mbwc/tst_wcstombs.c: Likewise. * tests-mbwc/dat_mbsrtowcs.c: Likewise. * tests-mbwc/tst_mbsrtowcs.c: Likewise. * tests-mbwc/dat_wcrtomb.c: Likewise. * tests-mbwc/tst_wcrtomb.c: Likewise. * tests-mbwc/dat_mbstowcs.c: Likewise. * tests-mbwc/tst_mbstowcs.c: Likewise. * tests-mbwc/dat_strfmon.c: Likewise. * tests-mbwc/tst_strfmon.c: Likewise.
* Test files for strfmon.Andreas Jaeger2000-06-292-0/+332
|
* Update.Andreas Jaeger2000-06-298-0/+1170
| | | | | | | | | | | | | | | | | | | | | | | 2000-06-29 Andreas Jaeger <aj@suse.de> * Makefile (locale_test_suite): Add new test files. (tst_mblen-ENV): New. (tst_mbtowc-ENV): New. (tst_strcoll-ENV): New. (tst_strxfrm-ENV): New. (tst_wctomb-ENV): New. * tests-mbwc/tst_wctomb.c: New test file from Shoji Kuwabara <kuwahara@cthulhu.engr.sgi.com>. * tests-mbwc/dat_wctomb.c: Likewise. * tests-mbwc/tst_mbtowc.c: Likewise. * tests-mbwc/dat_mbtowc.c: Likewise. * tests-mbwc/tst_strxfrm.c: Likewise. * tests-mbwc/dat_strxfrm.c: Likewise. * tests-mbwc/dat_strcoll.c: Likewise. * tests-mbwc/tst_strcoll.c: Likewise. * tests-mbwc/tst_mblen.c: Likewise. * tests-mbwc/dat_mblen.c: Likewise.
* Tests for mblen.Andreas Jaeger2000-06-292-0/+200
|
* Update.Ulrich Drepper2000-06-282-7/+15
| | | | | | | | | | | | * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls depending on whether the input string is empty or not. * wcsmbs/mbrtowc.c: Calling function without input means clearing the given state and not avoiding this by modifying a local object. * wcsmbs/wcrtomb.c: Likewise. * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state object since some incomplete characters might be in there.
* Update.Ulrich Drepper2000-06-281-26/+26
| | | | | | 2000-06-28 Ulrich Drepper <drepper@redhat.com> * iconvdata/jis0208.h: Remove redundant test.
* Update.Andreas Jaeger2000-06-281-1/+1
| | | | | * tests-mbwc/tst_wcscat.c (tst_wcscat): Correct format to avoid warning.
* Update.Andreas Jaeger2000-06-283-4/+34
| | | | | | | | | | | | | | | | | | | * Makefile (locale_test_suite): Add tst_mbrlen. (tst_mbrlen-ENV): New. * tests-mbwc/tst_mbrlen.c: New file * tests-mbwc/dat_mbrlen.c: New file. * tests-mbwc/tst_types.h (struct TIN_MBSTOWCS_REC): Use const char*. (struct TST_HEAD): Use const char* instead of an array. * tests-mbwc/tst_wcsstr.c (tst_wcsstr): ws2 has size WCSSIZE. * tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Add tests for de_UTF8. * tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
* Test files for mbrlen.c.Andreas Jaeger2000-06-282-0/+239
|
* (TST_LOC_de_UTF8): Added.Andreas Jaeger2000-06-281-1/+6
| | | | | | 2000-06-28 Andreas Jaeger <aj@suse.de> * tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
* Update.Ulrich Drepper2000-06-2822-106/+234
| | | | | | | | | | | | | | | | | | | * locale/programs/ld-ctype.c (ctype_finish): Take all characters from the input charset into account when generating the hash table. (allocate_arrays): Correct setting default width. Not all empty slots in the table are filled, only those not covert explicitly by the locale description and in the charset. * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for wide character version. For %C handling, test correct pointer variable for NULL. * wcsmbs/wctob.c: Handle WEOF special. * wcsmbs/wcwidth.h: 0xff in width array means invalid character. * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid always-true test to avoid warning.
* Add new files to tests and add environment for them.Andreas Jaeger2000-06-2718-0/+1858
|
* * Makefile (tests): Add tests from tests-mbwc subdirectory, Andreas Jaeger2000-06-2759-0/+5573
comment them out for now. (subdir-dirs): New for tests-mbwc, add also vpaths. * Makefile (tests): Add tests from tests-mbwc subdirectory, comment them out for now. (subdir-dirs): New for tests-mbwc, add also vpaths.