diff options
author | Jim Blandy <jimb@codesourcery.com> | 2012-10-22 17:12:17 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-10-22 17:12:17 +0000 |
commit | 6fb54a225415a91050eb004d05bc62d6c3ca2b53 (patch) | |
tree | 5ac6cc960e031708a92f7d0308c2c3618943c6b5 /posix | |
parent | 2b4a59f535079f07d7d63c3bab98e67263092c71 (diff) | |
download | glibc-6fb54a225415a91050eb004d05bc62d6c3ca2b53.zip glibc-6fb54a225415a91050eb004d05bc62d6c3ca2b53.tar.gz glibc-6fb54a225415a91050eb004d05bc62d6c3ca2b53.tar.bz2 |
Don't pass shell loops' stdin to programs run on glibc's host.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/tst-getconf.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/tst-getconf.sh b/posix/tst-getconf.sh index b602f3e..701164b 100644 --- a/posix/tst-getconf.sh +++ b/posix/tst-getconf.sh @@ -34,7 +34,7 @@ rm -f $logfile result=0 while read name; do echo -n "getconf $name: " >> $logfile - ${run_getconf} "$name" 2>> $logfile >> $logfile + ${run_getconf} "$name" < /dev/null 2>> $logfile >> $logfile if test $? -ne 0; then echo "*** $name FAILED" >> $logfile result=1 @@ -212,7 +212,7 @@ EOF while read name; do echo -n "getconf $name /: " >> $logfile - ${run_getconf} "$name" / 2>> $logfile >> $logfile + ${run_getconf} "$name" / < /dev/null 2>> $logfile >> $logfile if test $? -ne 0; then echo "*** $name FAILED" >> $logfile result=1 |