From 679f5a56f969432e8d69a831ba942edae6cb7420 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 29 Apr 1998 23:02:41 +0000 Subject: Update. 1998-04-29 Ulrich Drepper * tst-locale.sh: Add comment for when multi-byte charsets in locales work. * tests/test5.cm: New file. * tests/test5.def: New file. * Makefile (ld-test-names): Add test5. --- localedata/ChangeLog | 8 ++++++++ localedata/Makefile | 2 +- localedata/tests/test5.cm | 13 +++++++++++++ localedata/tests/test5.def | 36 ++++++++++++++++++++++++++++++++++++ localedata/tst-locale.sh | 4 +++- 5 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 localedata/tests/test5.cm create mode 100644 localedata/tests/test5.def (limited to 'localedata') diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 2dc4aa7a50..7a74d1f089 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,11 @@ +1998-04-29 Ulrich Drepper + + * tst-locale.sh: Add comment for when multi-byte charsets in + locales work. + * tests/test5.cm: New file. + * tests/test5.def: New file. + * Makefile (ld-test-names): Add test5. + 1998-04-28 Ulrich Drepper * locales/de_DE: Use . as thousands separator and 3;3 groups for diff --git a/localedata/Makefile b/localedata/Makefile index 25dde67657..9be179abed 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -37,7 +37,7 @@ test-output := $(foreach s, .out .xout, \ generated := $(test-input) $(test-output) generated-dirs := $(basename $(test-input)) en_US -ld-test-names := test1 test2 test3 test4 +ld-test-names := test1 test2 test3 test4 test5 ld-test-srcs := $(addprefix tests/,$(addsuffix .cm,$(ld-test-names)) \ $(addsuffix .def,$(ld-test-names))) diff --git a/localedata/tests/test5.cm b/localedata/tests/test5.cm new file mode 100644 index 0000000000..9d23814a1c --- /dev/null +++ b/localedata/tests/test5.cm @@ -0,0 +1,13 @@ + % + / + 2 + 1 +CHARMAP +... /xa1/xa1 +... /xa2/xa1 +... /xa3/xa1 +... /xa4/xa1 +... /xa5/xa1 +... /xa6/xa1 +... /xa7/xa1 +END CHARMAP diff --git a/localedata/tests/test5.def b/localedata/tests/test5.def new file mode 100644 index 0000000000..c009033bb9 --- /dev/null +++ b/localedata/tests/test5.def @@ -0,0 +1,36 @@ +escape_char / +comment_char % + +LC_TIME + +abday "";"";/ + "";"";/ + "";"";/ + "" +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +abmon "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" +mon "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" + +d_t_fmt "" +d_fmt "" +t_fmt "" +am_pm "";"" +t_fmt_ampm "" + +END LC_TIME diff --git a/localedata/tst-locale.sh b/localedata/tst-locale.sh index 699a18b8aa..e52749de6d 100755 --- a/localedata/tst-locale.sh +++ b/localedata/tst-locale.sh @@ -39,12 +39,14 @@ test_locale () } # I take this out for now since it is a known problem -# (see [PR libc/229] and [PR libc/454]. +# (see [PR libc/229] and [PR libc/454]. --drepper # test_locale IBM437 de_DE de_DE.437 test_locale tests/test1.cm tests/test1.def test1 test_locale tests/test2.cm tests/test2.def test2 test_locale tests/test3.cm tests/test3.def test3 test_locale tests/test4.cm tests/test4.def test4 +# I know that multi-byte charsets do not yet work. --drepper +# test_locale tests/test5.cm tests/test5.def test5 exit 0 -- cgit v1.2.3