about summary refs log tree commit diff
path: root/intl/tst-gettext.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-gettext.sh
parent3fc2f6c8cb7bf6b5d6f81b0759acd18c383d5c4b (diff)
downloadglibc-b344de2a1c69a82e8ab6d22c31d487233c389f6d.tar.gz
glibc-b344de2a1c69a82e8ab6d22c31d487233c389f6d.tar.xz
glibc-b344de2a1c69a82e8ab6d22c31d487233c389f6d.zip
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-gettext.sh')
-rwxr-xr-xintl/tst-gettext.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/intl/tst-gettext.sh b/intl/tst-gettext.sh
index 31281b2717..3c7ccc392e 100755
--- a/intl/tst-gettext.sh
+++ b/intl/tst-gettext.sh
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test of gettext functions.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2002 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 #
 
@@ -23,10 +23,6 @@ common_objpfx=$1
 objpfx=$2
 malloc_trace=$3
 
-GCONV_PATH=${common_objpfx}iconvdata
-export GCONV_PATH
-LOCPATH=${common_objpfx}localedata
-export LOCPATH
 LC_ALL=C
 export LC_ALL
 
@@ -57,6 +53,11 @@ msgfmt -o ${objpfx}domaindir/existing-locale/LC_MESSAGES/existing-domain.mo \
 msgfmt -o ${objpfx}domaindir/existing-locale/LC_TIME/existing-time-domain.mo \
        ../po/de.po
 
+GCONV_PATH=${common_objpfx}iconvdata
+export GCONV_PATH
+LOCPATH=${common_objpfx}localedata
+export LOCPATH
+
 # Now run the test.
 MALLOC_TRACE=$malloc_trace LOCPATH=${objpfx}localedir:$LOCPATH \
 ${common_objpfx}elf/ld.so --library-path $common_objpfx \