summaryrefslogtreecommitdiff
path: root/intl/tst-codeset.sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-06 05:11:18 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-06 05:11:18 +0000
commitb344de2a1c69a82e8ab6d22c31d487233c389f6d (patch)
tree13aea6cf5a0361ceb0d9c94af7592f66f8d0af3d /intl/tst-codeset.sh
parent3fc2f6c8cb7bf6b5d6f81b0759acd18c383d5c4b (diff)
downloadglibc-b344de2a1c69a82e8ab6d22c31d487233c389f6d.tar.gz
Update.
* intl/tst-gettext.sh: Set GCONV_PATH and LOCPATH to values for the test just before the test runs. * intl/tst-translit.sh: Likewise. * intl/tst-codeset.sh: Likewise.
Diffstat (limited to 'intl/tst-codeset.sh')
-rw-r--r--intl/tst-codeset.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/intl/tst-codeset.sh b/intl/tst-codeset.sh
index 85efbffe64..3d9b9559b7 100644
--- a/intl/tst-codeset.sh
+++ b/intl/tst-codeset.sh
@@ -1,6 +1,6 @@
#! /bin/sh
# Test of bind_textdomain_codeset.
-# Copyright (C) 2001 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
@@ -22,10 +22,6 @@
common_objpfx=$1
objpfx=$2
-GCONV_PATH=${common_objpfx}iconvdata
-export GCONV_PATH
-LOCPATH=${common_objpfx}localedata
-export LOCPATH
LC_ALL=C
export LC_ALL
@@ -37,6 +33,11 @@ test -d ${objpfx}domaindir/de_DE/LC_MESSAGES || mkdir ${objpfx}domaindir/de_DE/L
# Populate them.
msgfmt -o ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo tstcodeset.po
+GCONV_PATH=${common_objpfx}iconvdata
+export GCONV_PATH
+LOCPATH=${common_objpfx}localedata
+export LOCPATH
+
${common_objpfx}elf/ld.so --library-path $common_objpfx \
${objpfx}tst-codeset > ${objpfx}tst-codeset.out