mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00:07 +00:00
a5707dad25
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.
30 lines
885 B
Bash
30 lines
885 B
Bash
#! /bin/sh
|
|
|
|
common_objpfx=$1; shift
|
|
lang=$*
|
|
|
|
id=${PPID:-100}
|
|
here=`pwd`
|
|
|
|
# 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=$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=$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
|
|
done
|
|
|
|
exit $status
|
|
# Local Variables:
|
|
# mode:shell-script
|
|
# End:
|