aboutsummaryrefslogtreecommitdiff
path: root/localedata/sort-test.sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-29 19:33:05 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-29 19:33:05 +0000
commita5707dad25fcc5093f9cc220226b142fae471718 (patch)
tree79e77e2376db710bf935386e584f6107e207cbe0 /localedata/sort-test.sh
parent5ab0176021b51b2815ec44cc42ec8b82c6d6d0f2 (diff)
downloadglibc-a5707dad25fcc5093f9cc220226b142fae471718.tar
glibc-a5707dad25fcc5093f9cc220226b142fae471718.tar.gz
glibc-a5707dad25fcc5093f9cc220226b142fae471718.tar.bz2
glibc-a5707dad25fcc5093f9cc220226b142fae471718.zip
Update.
2000-06-29 Ulrich Drepper <drepper@redhat.com> * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which we later need to calling free(). Patch by Matt Wilson <msw@redhat.com>. 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file. 2000-06-28 Jes Sorensen <jes@linuxcare.com> * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get prototype for abs(). * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
Diffstat (limited to 'localedata/sort-test.sh')
-rw-r--r--localedata/sort-test.sh15
1 files changed, 2 insertions, 13 deletions
diff --git a/localedata/sort-test.sh b/localedata/sort-test.sh
index be5693a492..18dbcd5362 100644
--- a/localedata/sort-test.sh
+++ b/localedata/sort-test.sh
@@ -6,29 +6,18 @@ lang=$*
id=${PPID:-100}
here=`pwd`
-# Generate data files.
-for l in $lang; do
- cns=`echo $l | sed 's/\(.*\)[.][^.]*/\1/'`
- cn=locales/$cns
- fn=charmaps/`echo $l | sed 's/.*[.]\([^.]*\)/\1/'`
- I18NPATH=. GCONV_PATH=${common_objpfx}/iconvdata \
- ${common_objpfx}elf/ld.so --library-path $common_objpfx \
- ${common_objpfx}locale/localedef --quiet -i $cn -f $fn \
- ${common_objpfx}localedata/$cns
-done
-
# Run collation tests.
status=0
for l in $lang; do
cns=`echo $l | sed 's/\(.*\)[.][^.]*/\1/'`
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}/iconvdata \
- LC_ALL=$cns ${common_objpfx}elf/ld.so --library-path $common_objpfx \
+ LC_ALL=$l ${common_objpfx}elf/ld.so --library-path $common_objpfx \
${common_objpfx}localedata/collate-test $id < $cns.in \
> ${common_objpfx}localedata/$cns.out || status=1
cmp -s $cns.in ${common_objpfx}localedata/$cns.out || status=1
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}/iconvdata \
- LC_ALL=$cns ${common_objpfx}elf/ld.so --library-path $common_objpfx \
+ LC_ALL=$l ${common_objpfx}elf/ld.so --library-path $common_objpfx \
${common_objpfx}localedata/xfrm-test $id < $cns.in \
> ${common_objpfx}localedata/$cns.xout || status=1
cmp -s $cns.in ${common_objpfx}localedata/$cns.xout || status=1