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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user