summaryrefslogtreecommitdiff
path: root/iconvdata/tst-tables.sh
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2012-10-22 17:12:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-22 17:12:17 +0000
commit6fb54a225415a91050eb004d05bc62d6c3ca2b53 (patch)
tree5ac6cc960e031708a92f7d0308c2c3618943c6b5 /iconvdata/tst-tables.sh
parent2b4a59f535079f07d7d63c3bab98e67263092c71 (diff)
downloadglibc-6fb54a225415a91050eb004d05bc62d6c3ca2b53.tar.gz
Don't pass shell loops' stdin to programs run on glibc's host.
Diffstat (limited to 'iconvdata/tst-tables.sh')
-rwxr-xr-xiconvdata/tst-tables.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/tst-tables.sh b/iconvdata/tst-tables.sh
index f65b72d6fa..eaf84dc2f4 100755
--- a/iconvdata/tst-tables.sh
+++ b/iconvdata/tst-tables.sh
@@ -263,7 +263,7 @@ while read charset charmap; do
case ${charset} in \#*) continue;; esac
echo -n "Testing ${charset}" 1>&2
if ${SHELL} tst-table.sh ${common_objpfx} ${objpfx} "${run_program_prefix}" \
- ${charset} ${charmap}; then
+ ${charset} ${charmap} < /dev/null; then
echo 1>&2
else
echo "failed: ./tst-table.sh ${common_objpfx} ${objpfx} ${charset} ${charmap}"