aboutsummaryrefslogtreecommitdiff
path: root/localedata/tst-mbswcs.sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-27 06:47:02 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-27 06:47:02 +0000
commit1da6cab218fb9210547d8b5dbea06e142974dcee (patch)
tree61646e1d7dad4fc755908475beac9ce5a9946e03 /localedata/tst-mbswcs.sh
parent316518d610789256841f929e3c5757d1e385fcd5 (diff)
downloadglibc-1da6cab218fb9210547d8b5dbea06e142974dcee.tar
glibc-1da6cab218fb9210547d8b5dbea06e142974dcee.tar.gz
glibc-1da6cab218fb9210547d8b5dbea06e142974dcee.tar.bz2
glibc-1da6cab218fb9210547d8b5dbea06e142974dcee.zip
Update.
* wcsmbs/mbsnrtowcs.c: Correctly compute number of converted characters. Don't handle incomplete characters as errors. * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors. * localedata/Makefile (test-srcs): Add tst-mbswcs2. Add rule to build tst-mbswcs2 before running tst-mbswcs.sh. * localedata/tst-mbswcs.sh: Run tst-mbswcs2. * localedata/tst-mbswcs2.c: New file.
Diffstat (limited to 'localedata/tst-mbswcs.sh')
-rwxr-xr-xlocaledata/tst-mbswcs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/localedata/tst-mbswcs.sh b/localedata/tst-mbswcs.sh
index c9a1600513..3f26bcf250 100755
--- a/localedata/tst-mbswcs.sh
+++ b/localedata/tst-mbswcs.sh
@@ -48,4 +48,9 @@ ${common_objpfx}elf/ld.so --library-path $common_objpfx \
${common_objpfx}localedata/tst-mbswcs1 \
> ${common_objpfx}localedata/tst-mbswcs.out || status=1
+LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
+${common_objpfx}elf/ld.so --library-path $common_objpfx \
+ ${common_objpfx}localedata/tst-mbswcs2 \
+ >> ${common_objpfx}localedata/tst-mbswcs.out || status=1
+
exit $status