Clean up localedata/tst-wctype.sh to match how it is called.
authorJim Blandy <jimb@codesourcery.com>
Fri, 19 Oct 2012 19:59:34 +0000 (19:59 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 19 Oct 2012 19:59:34 +0000 (19:59 +0000)
ChangeLog
localedata/tst-wctype.sh

index bfe3465..ebfd506 100644 (file)
--- 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]
index 0dd8a82..8cb34b8 100755 (executable)
 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 $?