Lines Matching refs:ret
16 ret=0
19 $CHECKZONE -k fail -i local example $db > test.out.$n 2>&1 || ret=1
22 $CHECKZONE -k fail -i local 0.0.0.0.in-addr.arpa $db > test.out.$n 2>&1 || ret=1
25 $CHECKZONE -i local example $db > test.out.$n 2>&1 || ret=1
29 if [ $ret != 0 ]; then echo "I:failed"; fi
30 status=`expr $status + $ret`
36 ret=0
39 $CHECKZONE -k fail -i local 0.0.0.0.in-addr.arpa $db > test.out.$n 2>&1 && ret=1
42 $CHECKZONE -i local example $db > test.out.$n 2>&1 && ret=1
46 if [ $ret != 0 ]; then echo "I:failed"; fi
47 status=`expr $status + $ret`
51 ret=0
52 $CHECKZONE -D -o test.orig.db test zones/test1.db > /dev/null 2>&1 || ret=1
53 $CHECKZONE -D -o test.changed.db test zones/test2.db > /dev/null 2>&1 || ret=1
54 $MAKEJOURNAL test test.orig.db test.changed.db test.orig.db.jnl 2>&1 || ret=1
56 [ $jlines = 3 ] || ret=1
57 $CHECKZONE -D -j -o test.out1.db test test.orig.db > /dev/null 2>&1 || ret=1
58 cmp -s test.changed.db test.out1.db || ret=1
60 $CHECKZONE -D -J test.journal -o test.out2.db test test.orig.db > /dev/null 2>&1 || ret=1
61 cmp -s test.changed.db test.out2.db || ret=1
63 if [ $ret != 0 ]; then echo "I:failed"; fi
64 status=`expr $status + $ret`
67 ret=0
68 $CHECKZONE example zones/spf.db > test.out1.$n 2>&1 || ret=1
69 $CHECKZONE -T ignore example zones/spf.db > test.out2.$n 2>&1 || ret=1
70 grep "'x.example' found type SPF" test.out1.$n > /dev/null && ret=1
71 grep "'y.example' found type SPF" test.out1.$n > /dev/null || ret=1
72 grep "'example' found type SPF" test.out1.$n > /dev/null && ret=1
73 grep "'x.example' found type SPF" test.out2.$n > /dev/null && ret=1
74 grep "'y.example' found type SPF" test.out2.$n > /dev/null && ret=1
75 grep "'example' found type SPF" test.out2.$n > /dev/null && ret=1
77 if [ $ret != 0 ]; then echo "I:failed"; fi
78 status=`expr $status + $ret`
81 ret=0
82 $CHECKZONE -l 300 example zones/good1.db > test.out1.$n 2>&1 && ret=1
83 $CHECKZONE -l 600 example zones/good1.db > test.out2.$n 2>&1 || ret=1
85 if [ $ret != 0 ]; then echo "I:failed"; fi
86 status=`expr $status + $ret`
89 ret=0
90 $CHECKZONE -f raw -l 300 example good1.db.raw > test.out1.$n 2>&1 && ret=1
91 $CHECKZONE -f raw -l 600 example good1.db.raw > test.out2.$n 2>&1 || ret=1
93 if [ $ret != 0 ]; then echo "I:failed"; fi
94 status=`expr $status + $ret`
97 ret=0
98 $CHECKZONE -f map -l 300 example good1.db.map > test.out1.$n 2>&1 && ret=1
99 $CHECKZONE -f map -l 600 example good1.db.map > test.out2.$n 2>&1 || ret=1
101 if [ $ret != 0 ]; then echo "I:failed"; fi
102 status=`expr $status + $ret`
105 ret=0
106 $CHECKZONE example zones/nowarn.inherited.owner.db > test.out1.$n 2>&1 || ret=1
107 grep "inherited.owner" test.out1.$n > /dev/null && ret=1
109 if [ $ret != 0 ]; then echo "I:failed"; fi
110 status=`expr $status + $ret`
113 ret=0
114 $CHECKZONE example zones/warn.inherit.origin.db > test.out1.$n 2>&1 || ret=1
115 grep "inherited.owner" test.out1.$n > /dev/null || ret=1
117 if [ $ret != 0 ]; then echo "I:failed"; fi
118 status=`expr $status + $ret`
121 ret=0
122 $CHECKZONE example zones/warn.inherited.owner.db > test.out1.$n 2>&1 || ret=1
123 grep "inherited.owner" test.out1.$n > /dev/null || ret=1
125 if [ $ret != 0 ]; then echo "I:failed"; fi
126 status=`expr $status + $ret`
129 ret=0
130 $CHECKZONE -f raw example zones/bad-badclass.raw > test.out.$n 2>&1 && ret=1
131 grep "failed: bad class" test.out.$n >/dev/null || ret=1
133 if [ $ret != 0 ]; then echo "I:failed"; fi
134 status=`expr $status + $ret`
137 ret=0
139 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
140 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
141 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
142 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
143 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
144 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
145 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
146 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
147 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
148 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
149 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
150 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
151 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
152 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
153 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
154 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
155 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
156 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
157 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
158 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
159 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
160 test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
162 if [ $ret != 0 ]; then echo "I:failed"; fi
163 status=`expr $status + $ret`
166 ret=0
167 $CHECKZONE example.com zones/ns-address-below-dname.db > test.out.$n 2>&1 && ret=1
168 grep "is below a DNAME" test.out.$n >/dev/null || ret=1
170 if [ $ret != 0 ]; then echo "I:failed"; fi
171 status=`expr $status + $ret`
174 ret=0
175 $CHECKZONE example.com zones/delegating-ns-address-below-dname.db > test.out.$n 2>&1 || ret=1
176 grep "is below a DNAME" test.out.$n >/dev/null || ret=1
178 if [ $ret != 0 ]; then echo "I:failed"; fi
179 status=`expr $status + $ret`