Lines Matching refs:ret

16 ret=0
17 $DIG -p 5300 @10.53.0.1 mx mx-cname-fail > dig.out.test$n || ret=1
18 grep "status: SERVFAIL," dig.out.test$n > /dev/null || ret=1
19 grep "zone mx-cname-fail/IN: mx-cname-fail/MX 'cname.mx-cname-fail' is a CNAME (illegal)" ns1/named.run > /dev/null || ret=1
21 if [ $ret != 0 ]; then echo "I:failed"; fi
22 status=`expr $status + $ret`
25 ret=0
26 $DIG -p 5300 @10.53.0.1 mx mx-cname-warn > dig.out.test$n || ret=1
27 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
28 grep "zone mx-cname-warn/IN: mx-cname-warn/MX 'cname.mx-cname-warn' is a CNAME (illegal)" ns1/named.run > /dev/null || ret=1
30 if [ $ret != 0 ]; then echo "I:failed"; fi
31 status=`expr $status + $ret`
34 ret=0
35 $DIG -p 5300 @10.53.0.1 mx mx-cname-ignore > dig.out.test$n || ret=1
36 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
37 grep "zone mx-cname-ignore/IN: mx-cname-ignore/MX 'cname.mx-cname-ignore' is a CNAME (illegal)" ns1/named.run > /dev/null && ret=1
39 if [ $ret != 0 ]; then echo "I:failed"; fi
40 status=`expr $status + $ret`
43 ret=0
44 $DIG -p 5300 @10.53.0.1 mx no-mx-cname-fail > dig.out.test$n || ret=1
45 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
46 grep "zone no-mx-cname-fail/IN: no-mx-cname-fail/MX 'cname.no-mx-cname-fail' is a CNAME (illegal)" ns1/named.run > /dev/null && ret=1
48 if [ $ret != 0 ]; then echo "I:failed"; fi
49 status=`expr $status + $ret`
52 ret=0
53 $DIG -p 5300 @10.53.0.1 mx no-mx-cname-warn > dig.out.test$n || ret=1
54 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
55 grep "zone no-mx-cname-warn/IN: no-mx-cname-warn/MX 'cname.no-mx-cname-warn' is a CNAME (illegal)" ns1/named.run > /dev/null && ret=1
57 if [ $ret != 0 ]; then echo "I:failed"; fi
58 status=`expr $status + $ret`
61 ret=0
62 $DIG -p 5300 @10.53.0.1 mx no-mx-cname-ignore > dig.out.test$n || ret=1
63 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
64 grep "zone no-mx-cname-ignore/IN: no-mx-cname-ignore/MX 'cname.no-mx-cname-ignore' is a CNAME (illegal)" ns1/named.run > /dev/null && ret=1
66 if [ $ret != 0 ]; then echo "I:failed"; fi
67 status=`expr $status + $ret`
70 ret=0
71 $DIG -p 5300 @10.53.0.1 srv srv-cname-fail > dig.out.test$n || ret=1
72 grep "status: SERVFAIL," dig.out.test$n > /dev/null || ret=1
73 grep "zone srv-cname-fail/IN: srv-cname-fail/SRV 'cname.srv-cname-fail' is a CNAME (illegal)" ns1/named.run > /dev/null || ret=1
75 if [ $ret != 0 ]; then echo "I:failed"; fi
76 status=`expr $status + $ret`
79 ret=0
80 $DIG -p 5300 @10.53.0.1 srv srv-cname-warn > dig.out.test$n || ret=1
81 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
82 grep "zone srv-cname-warn/IN: srv-cname-warn/SRV 'cname.srv-cname-warn' is a CNAME (illegal)" ns1/named.run > /dev/null || ret=1
84 if [ $ret != 0 ]; then echo "I:failed"; fi
85 status=`expr $status + $ret`
88 ret=0
89 $DIG -p 5300 @10.53.0.1 srv srv-cname-ignore > dig.out.test$n || ret=1
90 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
91 grep "zone srv-cname-ignore/IN: srv-cname-ignore/SRV 'cname.srv-cname-ignore' is a CNAME (illegal)" ns1/named.run > /dev/null && ret=1
93 if [ $ret != 0 ]; then echo "I:failed"; fi
94 status=`expr $status + $ret`
97 ret=0
98 $DIG -p 5300 @10.53.0.1 srv no-srv-cname-fail > dig.out.test$n || ret=1
99 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
100 grep "zone no-srv-cname-fail/IN: no-srv-cname-fail/SRV 'cname.no-srv-cname-fail' is a CNAME (illegal)" ns1/named.run > /dev/null && ret=1
102 if [ $ret != 0 ]; then echo "I:failed"; fi
103 status=`expr $status + $ret`
106 ret=0
107 $DIG -p 5300 @10.53.0.1 srv no-srv-cname-warn > dig.out.test$n || ret=1
108 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
109 grep "zone no-srv-cname-warn/IN: no-srv-cname-warn/SRV 'cname.no-srv-cname-warn' is a CNAME (illegal)" ns1/named.run > /dev/null && ret=1
111 if [ $ret != 0 ]; then echo "I:failed"; fi
112 status=`expr $status + $ret`
115 ret=0
116 $DIG -p 5300 @10.53.0.1 srv no-srv-cname-ignore > dig.out.test$n || ret=1
117 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
118 grep "zone no-srv-cname-ignore/IN: no-srv-cname-ignore/SRV 'cname.no-srv-cname-ignore' is a CNAME (illegal)" ns1/named.run > /dev/null && ret=1
120 if [ $ret != 0 ]; then echo "I:failed"; fi
121 status=`expr $status + $ret`