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