Lines Matching refs:ret
23 ret=0
24 $DIG $DIGOPTS a.good. @10.53.0.3 a > dig.out.good || ret=1
25 grep "status: NOERROR" dig.out.good > /dev/null || ret=1
26 grep "flags:[^;]* ad[ ;]" dig.out.good > /dev/null || ret=1
27 if [ $ret != 0 ]; then echo "I:failed"; fi
28 status=`expr $status + $ret`
33 ret=0
34 $DIG $DIGOPTS a.bad. @10.53.0.3 a > dig.out.bad || ret=1
35 grep "SERVFAIL" dig.out.bad > /dev/null || ret=1
36 if [ $ret != 0 ]; then echo "I:failed"; fi
37 status=`expr $status + $ret`
40 ret=0
41 $DIG $DIGOPTS bad. @10.53.0.4 ds > dig.out.ds || ret=1
42 grep "NOERROR" dig.out.ds > /dev/null || ret=1
43 grep "flags:[^;]* ad[ ;]" dig.out.ds > /dev/null || ret=1
44 $DIG $DIGOPTS a.bad. @10.53.0.4 a > dig.out.insecure || ret=1
45 grep "NOERROR" dig.out.insecure > /dev/null || ret=1
46 grep "flags:[^;]* ad[ ;]" dig.out.insecure > /dev/null && ret=1
47 if [ $ret != 0 ]; then echo "I:failed"; fi
48 status=`expr $status + $ret`