Lines Matching refs:ret
58 ret=0
60 ans=`$DIG $DIGOPTS_CD @10.53.0.4 hostile MX` || ret=1
61 test "$ans" = "$expect" || ret=1
62 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
63 status=`expr $status + $ret`
66 ret=0
68 ans=`$DIG $DIGOPTS_CD @10.53.0.4 mail.example A` || ret=1
69 test "$ans" = "$expect" || ret=1
70 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
71 status=`expr $status + $ret`
78 ret=0
80 ans=`$DIG $DIGOPTS @10.53.0.4 example.com MX` || ret=1
81 test "$ans" = "$expect" || ret=1
82 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
83 status=`expr $status + $ret`
86 ret=0
87 replace_data mail.example.com. A 192.0.2.2 192.0.2.3 || ret=1
88 status=`expr $status + $ret`
91 ret=0
92 replace_data mail.example.com. AAAA 2001:db8::2 2001:db8::3 || ret=1
93 status=`expr $status + $ret`
96 ret=0
98 ans=`$DIG $DIGOPTS @10.53.0.4 mail.example.com A` || ret=1
99 test "$ans" = "$expect" || ret=1
100 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
101 status=`expr $status + $ret`
104 ret=0
106 ans=`$DIG $DIGOPTS_CD @10.53.0.4 mail.example.com AAAA` || ret=1
107 test "$ans" = "$expect" || ret=1
108 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
109 status=`expr $status + $ret`
116 ret=0
118 ans=`$DIG $DIGOPTS_CD @10.53.0.4 pending-ok.example.com A` || ret=1
119 test "$ans" = "$expect" || ret=1
120 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
121 status=`expr $status + $ret`
124 ret=0
125 replace_data pending-ok.example.com. A 192.0.2.2 192.0.2.3 || ret=1
126 status=`expr $status + $ret`
129 ret=0
131 ans=`$DIG $DIGOPTS_CD @10.53.0.4 pending-ok.example.com A` || ret=1
132 test "$ans" = "$expect" || ret=1
133 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
134 status=`expr $status + $ret`
141 ret=0
143 ans=`$DIG $DIGOPTS_CD @10.53.0.4 pending-ng.example.com A` || ret=1
144 test "$ans" = "$expect" || ret=1
145 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
146 status=`expr $status + $ret`
149 ret=0
150 replace_data pending-ng.example.com. A 192.0.2.102 192.0.2.103 || ret=1
151 status=`expr $status + $ret`
154 ret=0
156 ans=`$DIG $DIGOPTS @10.53.0.4 pending-ng.example.com A` || ret=1
157 test "$ans" = "$expect" || ret=1
158 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
159 status=`expr $status + $ret`
165 ret=0
167 ans=`$DIG $DIGOPTS_CD @10.53.0.4 bad.example. A` || ret=1
169 test "$ans" = "$expect" || ret=1
170 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
171 status=`expr $status + $ret`
174 ret=0
176 ans=`$DIG $DIGOPTS_CD @10.53.0.4 nice.good. A` || ret=1
178 test "$ans" = "$expect" || ret=1
179 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
180 status=`expr $status + $ret`