Lines Matching refs:ret

26 	ret=0
27 $DIG +tcp example. @10.53.0.1 soa -p 5300 > dig.out.ns1 || ret=1
28 grep "status: NOERROR" dig.out.ns1 > /dev/null || ret=1
29 $DIG +tcp example. @10.53.0.2 soa -p 5300 > dig.out.ns2 || ret=1
30 grep "status: NOERROR" dig.out.ns2 > /dev/null || ret=1
31 $DIG +tcp example. @10.53.0.3 soa -p 5300 > dig.out.ns3 || ret=1
32 grep "status: NOERROR" dig.out.ns3 > /dev/null || ret=1
33 test $ret = 0 && break
36 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
40 ret=0
42 @10.53.0.1 axfr -p 5300 > dig.out.ns1 || ret=1
43 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
48 @10.53.0.2 axfr -p 5300 > dig.out.ns2 || ret=1
49 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
53 ret=0
55 @10.53.0.3 axfr -p 5300 > dig.out.ns3 || ret=1
56 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
60 ret=0
61 $PERL ../digcomp.pl knowngood.before dig.out.ns1 || ret=1
62 $PERL ../digcomp.pl knowngood.before dig.out.ns2 || ret=1
63 $PERL ../digcomp.pl knowngood.before dig.out.ns3 || ret=1
64 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
67 ret=0
68 $NSUPDATE -y update.example:c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K -- - <<EOF || ret=1
74 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
81 ret=0
83 @10.53.0.1 axfr -p 5300 > dig.out.ns1 || ret=1
84 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
88 ret=0
90 @10.53.0.2 axfr -p 5300 > dig.out.ns2 || ret=1
91 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
94 ret=0
96 @10.53.0.3 axfr -p 5300 > dig.out.ns3 || ret=1
97 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
101 ret=0
102 $PERL ../digcomp.pl knowngood.after1 dig.out.ns1 || ret=1
103 $PERL ../digcomp.pl knowngood.after1 dig.out.ns2 || ret=1
104 $PERL ../digcomp.pl knowngood.after1 dig.out.ns3 || ret=1
105 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
108 ret=0
109 grep "forwarding update for zone 'example/IN'" ns3/named.run > /dev/null || ret=1
110 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
114 ret=0
115 $NSUPDATE -- - <<EOF || ret=1
121 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
128 ret=0
130 @10.53.0.1 axfr -p 5300 > dig.out.ns1 || ret=1
131 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
134 ret=0
136 @10.53.0.2 axfr -p 5300 > dig.out.ns2 || ret=1
137 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
141 ret=0
143 @10.53.0.3 axfr -p 5300 > dig.out.ns3 || ret=1
144 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
147 ret=0
148 $PERL ../digcomp.pl knowngood.after2 dig.out.ns1 || ret=1
149 $PERL ../digcomp.pl knowngood.after2 dig.out.ns2 || ret=1
150 $PERL ../digcomp.pl knowngood.after2 dig.out.ns3 || ret=1
151 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
156 ret=0
157 while [ $count -lt 5 -a $ret -eq 0 ]
169 @10.53.0.3 soa -p 5300 > dig.out.ns3 || ret=1
170 grep "status: NOERROR" dig.out.ns3 > /dev/null || ret=1
173 if [ $ret != 0 ] ; then echo "I:failed"; status=`expr $status + $ret`; fi
179 ret=0
189 grep "status: NOERROR" dig.out.ns1.test$n > /dev/null || ret=1
190 if [ $ret != 0 ] ; then echo "I:failed"; fi
191 status=`expr $status + $ret`