Ensure use of "echo_i" where possible

In many instances 'echo "I:' construct was used where echo_i function
should have been.
This commit is contained in:
Michal Nowak
2020-10-15 16:27:30 +02:00
parent beb3ad5494
commit 1319875c46
15 changed files with 107 additions and 110 deletions

View File

@@ -23,7 +23,7 @@ do
echo 10.0.0.1 | $DIFF - dig.out || ret=1
if [ $ret != 0 ]
then
echo "#$i failed"
echo_i "#$i failed"
fi
status=`expr $status + $ret`
done
@@ -36,7 +36,7 @@ do
echo '"hello"' | $DIFF - dig.out || ret=1
if [ $ret != 0 ]
then
echo "#$i failed"
echo_i "#$i failed"
fi
status=`expr $status + $ret`
done
@@ -49,7 +49,7 @@ do
echo '\# 1 00' | $DIFF - dig.out || ret=1
if [ $ret != 0 ]
then
echo "#$i failed"
echo_i "#$i failed"
fi
status=`expr $status + $ret`
done
@@ -76,7 +76,7 @@ do
echo '\# 4 0A000001' | $DIFF - dig.out || ret=1
if [ $ret != 0 ]
then
echo "#$i failed"
echo_i "#$i failed"
fi
status=`expr $status + $ret`
done
@@ -89,7 +89,7 @@ do
echo '"hello"' | $DIFF - dig.out || ret=1
if [ $ret != 0 ]
then
echo "#$i failed"
echo_i "#$i failed"
fi
status=`expr $status + $ret`
done
@@ -102,7 +102,7 @@ do
echo '\# 1 00' | $DIFF - dig.out || ret=1
if [ $ret != 0 ]
then
echo "#$i failed"
echo_i "#$i failed"
fi
status=`expr $status + $ret`
done
@@ -115,7 +115,7 @@ do
grep "SERVFAIL" dig.out > /dev/null || ret=1
if [ $ret != 0 ]
then
echo "#$i failed"
echo_i "#$i failed"
fi
status=`expr $status + $ret`
done