]> sourceware.org Git - glibc.git/blob - localedata/sort-test.sh
Update.
[glibc.git] / localedata / sort-test.sh
1 #! /bin/sh
2
3 common_objpfx=$1; shift
4 lang=$*
5
6 id=${PPID:-100}
7 here=`pwd`
8
9 # Run collation tests.
10 status=0
11 for l in $lang; do
12 cns=`echo $l | sed 's/\(.*\)[.][^.]*/\1/'`
13 LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}/iconvdata \
14 LC_ALL=$l ${common_objpfx}elf/ld.so --library-path $common_objpfx \
15 ${common_objpfx}localedata/collate-test $id < $cns.in \
16 > ${common_objpfx}localedata/$cns.out || status=1
17 cmp -s $cns.in ${common_objpfx}localedata/$cns.out || status=1
18
19 LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}/iconvdata \
20 LC_ALL=$l ${common_objpfx}elf/ld.so --library-path $common_objpfx \
21 ${common_objpfx}localedata/xfrm-test $id < $cns.in \
22 > ${common_objpfx}localedata/$cns.xout || status=1
23 cmp -s $cns.in ${common_objpfx}localedata/$cns.xout || status=1
24 done
25
26 exit $status
27 # Local Variables:
28 # mode:shell-script
29 # End:
This page took 0.04294 seconds and 6 git commands to generate.