Lines Matching refs:ret
21 ret=0
22 $DIG $DIGOPTS txt.example. txt @10.53.0.1 > dig.out.before || ret=1
25 $DIG $DIGOPTS txt.example. txt @10.53.0.1 > dig.out.after || ret=1
26 if [ $ret != 0 ]; then echo "I:failed"; fi
27 status=`expr $status + $ret`
29 ret=0
30 grep "status: NOERROR" dig.out.before > /dev/null || ret=1
31 if [ $ret -eq 1 ] ; then
34 ret=0
35 grep "status: SERVFAIL" dig.out.after > /dev/null || ret=1
36 if [ $ret -eq 1 ] ; then