mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
9f835f5fb4
2000-07-12 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_open.c (__gconv_open): Merge duplicated code. 2000-07-12 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize __modname. 2000-07-12 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_open.c (__gconv_open): Initialize result->__steps[cnt].__data. 2000-07-12 Mark Kettenis <kettenis@gnu.org> * nss/getent.c (services_keys): Pass port number in network byte order in call to getservbyport. 2000-07-11 Andreas Jaeger <aj@suse.de> * stdlib/Makefile (test-canon-ARGS): Fix for building in the source dir. * intl/Makefile (do-gettext-test): Likewise. * dirent/Makefile (opendir-tst1-ARGS): Likewise. 2000-07-11 Andreas Schwab <schwab@suse.de> * Makeconfig (run-program-prefix): New rule. (built-program-cmd): Use run-program-prefix.
31 lines
846 B
Bash
31 lines
846 B
Bash
#! /bin/sh
|
|
|
|
common_objpfx=$1; shift
|
|
run_program_prefix=$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 ${run_program_prefix} \
|
|
${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 ${run_program_prefix} \
|
|
${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:
|