Lines Matching refs:ret

20 ret=0
24 $DIGCMD +noauth a.example. @10.53.0.2 any > dig.out.ns2.1 || ret=1
25 if [ $ret != 0 ]; then echo "I: failed"; fi
26 status=`expr $status + $ret`
29 ret=0
33 grep "1 Addresses in hash table" ns2/named.stats > /dev/null || ret=1
34 if [ $ret != 0 ]; then echo "I:failed"; fi
35 status=`expr $status + $ret`
38 ret=0
40 grep "Cache Statistics" ns2/named.stats > /dev/null || ret=1
41 if [ $ret != 0 ]; then echo "I:failed"; fi
42 status=`expr $status + $ret`
48 ret=0
50 grep "2 Addresses in hash table" ns2/named.stats > /dev/null || ret=1
51 if [ $ret != 0 ]; then echo "I: failed"; fi
52 status=`expr $status + $ret`
55 ret=0
59 [ -f ns3/named.stats ] || ret=1
69 [ -f ns3/named.stats ] || ret=1
70 if [ $ret != 0 ]; then echo "I: failed"; fi
71 status=`expr $status + $ret`
74 ret=0
76 grep "2 recursing clients" ns3/named.stats > /dev/null || ret=1
77 if [ $ret != 0 ]; then echo "I: failed"; fi
78 status=`expr $status + $ret`
81 ret=0
83 grep "1 active fetches" ns3/named.stats > /dev/null || ret=1
84 if [ $ret != 0 ]; then echo "I: failed"; fi
85 status=`expr $status + $ret`
92 ret=0
93 [ `expr $nsock1nstat - $nsock0nstat` -eq 1 ] || ret=1
94 if [ $ret != 0 ]; then echo "I: failed"; fi
95 status=`expr $status + $ret`
99 ret=0
103 grep "1 UDP queries in progress" ns3/named.stats > /dev/null || ret=1
104 grep "TCP queries in progress" ns3/named.stats > /dev/null && ret=1
105 if [ $ret != 0 ]; then echo "I: failed"; fi
106 status=`expr $status + $ret`
109 ret=0
111 grep "bucket size" ns3/named.stats > /dev/null || ret=1
112 if [ $ret != 0 ]; then echo "I: failed"; fi
113 status=`expr $status + $ret`
116 ret=0
120 ${CURL} http://10.53.0.1:8053/xml/v3/zones > curl.out.${t} 2>/dev/null || ret=1
121 grep '<zone name="32/1.0.0.127-in-addr.example" rdataclass="IN">' curl.out.${t} > /dev/null || ret=1
125 if [ $ret != 0 ]; then echo "I:failed"; fi
126 status=`expr $status + $ret`
128 ret=0
132 ${CURL} http://10.53.0.1:8053/xml/v3/zones > curl.out.${t} 2>/dev/null || ret=1
133 grep '<zone name="32/1.0.0.127-in-addr.example" rdataclass="IN"><type>master</type>' curl.out.${t} > /dev/null || ret=1
137 if [ $ret != 0 ]; then echo "I:failed"; fi
138 status=`expr $status + $ret`