aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-getconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-getconf.sh')
-rw-r--r--posix/tst-getconf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/tst-getconf.sh b/posix/tst-getconf.sh
index b602f3e92b..701164b4a0 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