Fix a typo in i386 SYSCALL_PIC_SETUP
[glibc.git] / intl / tst-gettext5.sh
bloba563b43f422febef4724b44b356d800670c5cd58
1 #! /bin/sh
2 # Test that gettext() in multithreaded applications works correctly if
3 # different threads operate in different locales referring to the same
4 # catalog file but with different encodings.
5 # Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc.
6 # This file is part of the GNU C Library.
9 # The GNU C Library is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU Lesser General Public
11 # License as published by the Free Software Foundation; either
12 # version 2.1 of the License, or (at your option) any later version.
14 # The GNU C Library is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # Lesser General Public License for more details.
19 # You should have received a copy of the GNU Lesser General Public
20 # License along with the GNU C Library; if not, see
21 # <http://www.gnu.org/licenses/>.
23 common_objpfx=$1
24 run_program_prefix=$2
25 objpfx=$3
27 LC_ALL=C
28 export LC_ALL
30 # Create the domain directories.
31 mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES
32 # Populate them.
33 msgfmt -o ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo tstcodeset.po
35 GCONV_PATH=${common_objpfx}iconvdata
36 export GCONV_PATH
37 LOCPATH=${common_objpfx}localedata
38 export LOCPATH
40 ${run_program_prefix} ${objpfx}tst-gettext5 > ${objpfx}tst-gettext5.out
42 exit $?