diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-10-19 23:30:43 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-10-19 23:30:43 +0000 |
commit | e40a0d2113bfeb5018409ed25e9711e6da7d994b (patch) | |
tree | 49719c577bd5d3ba4da545a4a184a6a5326eee8d /iconvdata/tst-tables.sh | |
parent | 728e272aec1b217bce32f1d75ecefb888e67b678 (diff) | |
download | glibc-e40a0d2113bfeb5018409ed25e9711e6da7d994b.tar.gz glibc-e40a0d2113bfeb5018409ed25e9711e6da7d994b.tar.xz glibc-e40a0d2113bfeb5018409ed25e9711e6da7d994b.zip |
Use $(run-program-prefix) in more shell script tests.
Diffstat (limited to 'iconvdata/tst-tables.sh')
-rwxr-xr-x | iconvdata/tst-tables.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/iconvdata/tst-tables.sh b/iconvdata/tst-tables.sh index b66d484d13..f65b72d6fa 100755 --- a/iconvdata/tst-tables.sh +++ b/iconvdata/tst-tables.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2000-2004,2007,2011 Free Software Foundation, Inc. +# Copyright (C) 2000-2012 Free Software Foundation, Inc. # This file is part of the GNU C Library. # Contributed by Bruno Haible <haible@clisp.cons.org>, 2000. # @@ -23,6 +23,7 @@ common_objpfx=$1 objpfx=$2 +run_program_prefix=$3 status=0 @@ -261,7 +262,8 @@ while read charset charmap; do if test "$charset" = GB18030; then echo "This might take a while" 1>&2; fi case ${charset} in \#*) continue;; esac echo -n "Testing ${charset}" 1>&2 - if ${SHELL} tst-table.sh ${common_objpfx} ${objpfx} ${charset} ${charmap}; then + if ${SHELL} tst-table.sh ${common_objpfx} ${objpfx} "${run_program_prefix}" \ + ${charset} ${charmap}; then echo 1>&2 else echo "failed: ./tst-table.sh ${common_objpfx} ${objpfx} ${charset} ${charmap}" |