aboutsummaryrefslogtreecommitdiff
path: root/intl/tst-gettext3.sh
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2012-08-17 14:32:19 -0600
committerJeff Law <law@redhat.com>2012-08-17 14:32:19 -0600
commitd1f0938405168df23e24f3446480f96b62e523b5 (patch)
tree4c975959313b1e736b686b0e1950fe5031f5f7ef /intl/tst-gettext3.sh
parentc31fdb83d239de6f5196c6b676e9200a1f7cefe6 (diff)
downloadglibc-d1f0938405168df23e24f3446480f96b62e523b5.tar
glibc-d1f0938405168df23e24f3446480f96b62e523b5.tar.gz
glibc-d1f0938405168df23e24f3446480f96b62e523b5.tar.bz2
glibc-d1f0938405168df23e24f3446480f96b62e523b5.zip
2012-08-17 Jeff Law <law@redhat.com>
* intl/Makefile (codeset_mo): New variable. ($(codeset_mo)): New target. (tst-codeset.out): Depend on that. Remove explicit rule. (tst-gettext3.out, tst-gettext5.out): Likewise. (LOCPATH-ENV, tst-codeset-ENV): New variables. (tst-gettext3-ENV, tst-gettext5-ENV): Likewise. * intl/tst-codeset.sh: Remove. * intl/tst-gettext3.sh: Likewise. * intl/tst-gettext5.sh: Likewise.
Diffstat (limited to 'intl/tst-gettext3.sh')
-rw-r--r--intl/tst-gettext3.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/intl/tst-gettext3.sh b/intl/tst-gettext3.sh
deleted file mode 100644
index 032379c060..0000000000
--- a/intl/tst-gettext3.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#! /bin/sh
-# Test that the gettext() results come out in the correct encoding for
-# locales that differ only in their encoding.
-# Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc.
-# This file is part of the GNU C Library.
-#
-
-# The GNU C Library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# The GNU C Library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-
-# You should have received a copy of the GNU Lesser General Public
-# License along with the GNU C Library; if not, see
-# <http://www.gnu.org/licenses/>.
-
-common_objpfx=$1
-objpfx=$2
-
-LC_ALL=C
-export LC_ALL
-
-# Generate the test data.
-msgfmt -o ${objpfx}codeset.mo.$$ tstcodeset.po || exit
-# Create the domain directories.
-mkdir -p ${objpfx}domaindir/de_DE/LC_MESSAGES
-# Populate them.
-mv -f ${objpfx}codeset.mo.$$ ${objpfx}domaindir/de_DE/LC_MESSAGES/codeset.mo
-
-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-gettext3 > ${objpfx}tst-gettext3.out
-
-exit $?