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 216273c73b
commit 47862fc559
21 changed files with 142 additions and 130 deletions

View File

@@ -24,7 +24,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
@@ -37,7 +37,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
@@ -50,7 +50,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
@@ -77,7 +77,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
@@ -90,7 +90,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
@@ -103,7 +103,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
@@ -116,7 +116,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