X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=localedata%2Ftst-langinfo.sh;h=5f639e670aca6ab42b66c04ce660a6011ff71d87;hb=refs%2Ftags%2Ftizen_2.4_mobile_release;hp=b169adedb18fa4e11fabdae08a458a01c4613bb3;hpb=15493dd3ecb249fcf90af154fb8c8bccb27b87b8;p=framework%2Fbase%2Ftizen-locale.git diff --git a/localedata/tst-langinfo.sh b/localedata/tst-langinfo.sh index b169ade..5f639e6 100755 --- a/localedata/tst-langinfo.sh +++ b/localedata/tst-langinfo.sh @@ -1,8 +1,7 @@ #! /bin/sh # Test nl_langinfo. -# Copyright (C) 2000, 2001, 2003, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2000-2015 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 @@ -15,12 +14,15 @@ # 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, write to the Free -# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -# 02111-1307 USA. +# License along with the GNU C Library; if not, see +# . + +set -e common_objpfx=$1 -run_program_prefix=$2 +tst_langinfo_before_env=$2 +run_program_env=$3 +tst_langinfo_after_env=$4 # Run the test program. cat <<"EOF" | @@ -339,9 +341,8 @@ ja_JP.EUC-JP NOEXPR ^([nN # ja_JP.EUC-JP CRNCYSTR JPY ja_JP.EUC-JP CODESET EUC-JP EOF -LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ -LC_ALL=tt_TT ${run_program_prefix} \ - ${common_objpfx}localedata/tst-langinfo \ - > ${common_objpfx}localedata/tst-langinfo.out +${tst_langinfo_before_env} \ +${run_program_env} \ +LC_ALL=tt_TT ${tst_langinfo_after_env} exit $?