summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2012-10-19 19:59:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-19 19:59:34 +0000
commit3c97f6525fcb4b7696e50d4d7a122daaedf3ea45 (patch)
treeb151dd9fb67e0436b53730c0459edfed85381b0e
parent38c78296506316d4f84df2bd095f5efe6804308e (diff)
downloadglibc-3c97f6525fcb4b7696e50d4d7a122daaedf3ea45.tar.gz
Clean up localedata/tst-wctype.sh to match how it is called.
-rw-r--r--ChangeLog7
-rwxr-xr-xlocaledata/tst-wctype.sh5
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bfe34653ce..ebfd5062d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-10-19 Jim Blandy <jimb@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ * localedata/tst-wctype.sh (run_program_prefix): Remove variable.
+ (tst_wctype): New variable. Use it directly to run test program
+ instead of passing test program name as argument.
+
2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
[BZ #14716]
diff --git a/localedata/tst-wctype.sh b/localedata/tst-wctype.sh
index 0dd8a82fa2..8cb34b8570 100755
--- a/localedata/tst-wctype.sh
+++ b/localedata/tst-wctype.sh
@@ -20,12 +20,11 @@
set -e
common_objpfx=$1
-run_program_prefix=$2
+tst_wctype=$2
# Run the test program.
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
-LC_ALL=ja_JP.EUC-JP ${run_program_prefix} \
- ${common_objpfx}localedata/tst-wctype < tst-wctype.input \
+LC_ALL=ja_JP.EUC-JP ${tst_wctype} < tst-wctype.input \
> ${common_objpfx}localedata/tst-wctype.out
exit $?