Don't pass shell loops' stdin to programs run on glibc's host.
[platform/upstream/glibc.git] / localedata / tst-rpmatch.sh
index 0fb0cdf..8788879 100755 (executable)
@@ -28,7 +28,7 @@ while IFS=\& read locale string result dummy; do
     if [ "$locale" != "#" ]; then
        LOCPATH=${common_objpfx}localedata \
        GCONV_PATH=${common_objpfx}/iconvdata \
-       ${tst_rpmatch} $locale $string $result \
+       ${tst_rpmatch} $locale $string $result < /dev/null \
        || { echo "$locale $string $result  FAILED"; exit 1; }
     fi
 done <<EOF