Lines Matching refs:ret

29 ret=0
30 $DIG $DIGOPTS fail.example. @10.53.0.1 a > dig.out.ns1.test$n || ret=1
31 grep SERVFAIL dig.out.ns1.test$n > /dev/null || ret=1
32 grep 'xx_xx.fail.example: bad owner name (check-names)' ns1/named.run > /dev/null || ret=1
33 if [ $ret != 0 ]; then echo "I:failed"; fi
34 status=`expr $status + $ret`
39 ret=0
40 grep 'xx_xx.warn.example: bad owner name (check-names)' ns1/named.run > /dev/null || ret=1
41 if [ $ret != 0 ]; then echo "I:failed"; fi
42 status=`expr $status + $ret`
47 ret=1
48 grep 'yy_yy.ignore.example: bad owner name (check-names)' ns1/named.run || ret=0
49 if [ $ret != 0 ]; then echo "I:failed"; fi
50 status=`expr $status + $ret`
55 ret=0
56 $DIG $DIGOPTS yy_yy.ignore.example. @10.53.0.1 a > dig.out.ns1.test$n || ret=1
57 $DIG $DIGOPTS yy_yy.ignore.example. @10.53.0.2 a > dig.out.ns2.test$n || ret=1
58 $PERL ../digcomp.pl dig.out.ns1.test$n dig.out.ns2.test$n || ret=1
59 grep "check-names warning yy_yy.ignore.example/A/IN" ns2/named.run > /dev/null || ret=1
60 if [ $ret != 0 ]; then echo "I:failed"; fi
61 status=`expr $status + $ret`
66 ret=0
67 $DIG $DIGOPTS yy_yy.ignore.example. @10.53.0.1 a > dig.out.ns1.test$n || ret=1
68 $DIG $DIGOPTS yy_yy.ignore.example. @10.53.0.3 a > dig.out.ns3.test$n || ret=1
69 grep NOERROR dig.out.ns1.test$n > /dev/null || ret=1
70 grep REFUSED dig.out.ns3.test$n > /dev/null || ret=1
71 grep "check-names failure yy_yy.ignore.example/A/IN" ns3/named.run > /dev/null || ret=1
72 if [ $ret != 0 ]; then echo "I:failed"; fi
73 status=`expr $status + $ret`
78 ret=0
79 $DIG $DIGOPTS mx.ignore.example. @10.53.0.1 MX > dig.out.ns1.test$n || ret=1
80 $DIG $DIGOPTS mx.ignore.example. @10.53.0.3 MX > dig.out.ns3.test$n || ret=1
81 grep NOERROR dig.out.ns1.test$n > /dev/null || ret=1
82 grep SERVFAIL dig.out.ns3.test$n > /dev/null || ret=1
83 grep "check-names failure mx.ignore.example/MX/IN" ns3/named.run > /dev/null || ret=1
84 if [ $ret != 0 ]; then echo "I:failed"; fi
85 status=`expr $status + $ret`
89 ret=0
96 if [ $not != 0 ]; then ret=1; fi
97 $DIG $DIGOPTS xxx_xxx.fail.update @10.53.0.1 A > dig.out.ns1.test$n || ret=1
98 grep "xxx_xxx.fail.update/A: bad owner name (check-names)" ns1/named.run > /dev/null || ret=1
99 grep NXDOMAIN dig.out.ns1.test$n > /dev/null || ret=1
100 if [ $ret != 0 ]; then echo "I:failed"; fi
101 status=`expr $status + $ret`
105 ret=0
106 $NSUPDATE -d <<END> nsupdate.out.test$n 2>&1|| ret=1
111 $DIG $DIGOPTS xxx_xxx.warn.update @10.53.0.1 A > dig.out.ns1.test$n || ret=1
112 grep "xxx_xxx.warn.update/A: bad owner name (check-names)" ns1/named.run > /dev/null || ret=1
113 grep NOERROR dig.out.ns1.test$n > /dev/null || ret=1
114 if [ $ret != 0 ]; then echo "I:failed"; fi
115 status=`expr $status + $ret`
119 ret=0
121 $NSUPDATE -d <<END> nsupdate.out.test$n 2>&1 || ret=1
127 if [ $not != 0 ]; then ret=1; fi
128 $DIG $DIGOPTS xxx_xxx.ignore.update @10.53.0.1 A > dig.out.ns1.test$n || ret=1
129 grep NOERROR dig.out.ns1.test$n > /dev/null || ret=1
130 if [ $ret != 0 ]; then echo "I:failed"; fi
131 status=`expr $status + $ret`