Lines Matching refs:count
131 count=`grep -c "keyid: " rndc.out.$n`
132 [ "$count" -eq 2 ] || ret=1
134 count=`grep -c "trust" rndc.out.$n`
135 [ "$count" -eq 2 ] || ret=1
137 count=`grep -c "trusted since" rndc.out.$n`
138 [ "$count" -eq 1 ] || ret=1
140 count=`grep -c "trust pending" rndc.out.$n`
141 [ "$count" -eq 1 ] || ret=1
151 count=`grep -c "keyid: " rndc.out.$n`
152 [ "$count" -eq 1 ] || ret=1
154 count=`grep -c "trust" rndc.out.$n`
155 [ "$count" -eq 1 ] || ret=1
157 count=`grep -c "no trust" rndc.out.$n`
158 [ "$count" -eq 1 ] || ret=1
199 count=`grep -c "keyid: " rndc.out.$n`
200 [ "$count" -eq 2 ] || ret=1
202 count=`grep -c "trust" rndc.out.$n`
203 [ "$count" -eq 2 ] || ret=1
205 count=`grep -c "trust revoked" rndc.out.$n`
206 [ "$count" -eq 1 ] || ret=1
208 count=`grep -c "remove at" rndc.out.$n`
209 [ "$count" -eq 1 ] || ret=1
211 count=`grep -c "trust pending" rndc.out.$n`
212 [ "$count" -eq 1 ] || ret=1
233 count=`grep -c "keyid: " rndc.out.$n`
234 [ "$count" -eq 2 ] || ret=1
236 count=`grep -c "trust" rndc.out.$n`
237 [ "$count" -eq 2 ] || ret=1
239 count=`grep -c "trust revoked" rndc.out.$n`
240 [ "$count" -eq 1 ] || ret=1
242 count=`grep -c "remove at" rndc.out.$n`
243 [ "$count" -eq 1 ] || ret=1
245 count=`grep -c "trust pending" rndc.out.$n`
246 [ "$count" -eq 1 ] || ret=1
271 count=`grep -c "keyid: " rndc.out.$n`
272 [ "$count" -eq 2 ] || ret=1
274 count=`grep -c "trust" rndc.out.$n`
275 [ "$count" -eq 2 ] || ret=1
277 count=`grep -c "trust revoked" rndc.out.$n`
278 [ "$count" -eq 1 ] || ret=1
280 count=`grep -c "remove at" rndc.out.$n`
281 [ "$count" -eq 1 ] || ret=1
283 count=`grep -c "trust pending" rndc.out.$n`
284 [ "$count" -eq 1 ] || ret=1
304 count=`grep -c "keyid: " rndc.out.$n`
305 [ "$count" -eq 2 ] || ret=1
307 count=`grep -c "trust" rndc.out.$n`
308 [ "$count" -eq 2 ] || ret=1
310 count=`grep -c "trusted since" rndc.out.$n`
311 [ "$count" -eq 2 ] || ret=1
324 count=`grep -c "keyid: " rndc.out.$n`
325 [ "$count" -eq 3 ] || ret=1
327 count=`grep -c "REVOKE" rndc.out.$n`
328 [ "$count" -eq 1 ] || ret=1
330 count=`grep -c "trust" rndc.out.$n`
331 [ "$count" -eq 3 ] || ret=1
333 count=`grep -c "trusted since" rndc.out.$n`
334 [ "$count" -eq 1 ] || ret=1
336 count=`grep -c "trust revoked" rndc.out.$n`
337 [ "$count" -eq 1 ] || ret=1
339 count=`grep -c "trust pending" rndc.out.$n`
340 [ "$count" -eq 1 ] || ret=1
342 count=`grep -c "remove at" rndc.out.$n`
343 [ "$count" -eq 1 ] || ret=1
355 count=`grep -c "keyid: " rndc.out.a.$n`
356 [ "$count" -eq 4 ] || { echo "keyid: count ($count) != 4"; ret=1; }
358 count=`grep -c "trust revoked" rndc.out.a.$n`
359 [ "$count" -eq 1 ] || { echo "trust revoked count ($count) != 1"; ret=1; }
361 count=`grep -c "trust pending" rndc.out.a.$n`
362 [ "$count" -eq 2 ] || { echo "trust pending count ($count) != 2"; ret=1; }
368 count=`grep -c "keyid: " rndc.out.b.$n`
369 [ "$count" -eq 3 ] || { echo "keyid: count ($count) != 3"; ret=1; }
371 count=`grep -c "trust revoked" rndc.out.b.$n`
372 [ "$count" -eq 1 ] || { echo "trust revoked count ($count) != 1"; ret=1; }
374 count=`grep -c "trust pending" rndc.out.b.$n`
375 [ "$count" -eq 1 ] || { echo "trust pending count ($count) != 1"; ret=1; }
388 count=`grep -c "keyid: " rndc.out.$n`
389 [ "$count" -eq 2 ] || ret=1
391 count=`grep -c "REVOKE" rndc.out.$n`
392 [ "$count" -eq 0 ] || ret=1
394 count=`grep -c "trust" rndc.out.$n`
395 [ "$count" -eq 2 ] || ret=1
397 count=`grep -c "trusted since" rndc.out.$n`
398 [ "$count" -eq 2 ] || ret=1
412 count=`grep -c "keyid: " rndc.out.$n`
413 [ "$count" -eq 2 ] || ret=1
415 count=`grep -c "REVOKE" rndc.out.$n`
416 [ "$count" -eq 2 ] || ret=1
418 count=`grep -c "trust" rndc.out.$n`
419 [ "$count" -eq 2 ] || ret=1
421 count=`grep -c "trust revoked" rndc.out.$n`
422 [ "$count" -eq 2 ] || ret=1
424 count=`grep -c "remove at" rndc.out.$n`
425 [ "$count" -eq 2 ] || ret=1
492 count=`grep -c "keyid: " rndc.out.$n`
493 [ "$count" -eq 1 ] || { echo "'keyid:' count ($count) != 1"; ret=1; }
495 count=`grep -c "keyid: $keyid" rndc.out.$n`
496 [ "$count" -eq 1 ] || { echo "'keyid: $keyid' count ($count) != 1"; ret=1; }
498 count=`grep -c "REVOKE" rndc.out.$n`
499 [ "$count" -eq 0 ] || { echo "'REVOKE' count ($count) != 0"; ret=1; }
501 count=`grep -c "trust" rndc.out.$n`
502 [ "$count" -eq 1 ] || { echo "'trust' count != 1"; ret=1; }
503 count=`grep -c "trusted since" rndc.out.$n`
504 [ "$count" -eq 1 ] || { echo "'trusted since' count != 1"; ret=1; }
560 count=`grep -c "keyid: " rndc.out.$n`
561 [ "$count" -eq 1 ] || ret=1
563 count=`grep -c "keyid: $keyid" rndc.out.$n`
564 [ "$count" -eq 1 ] || ret=1
566 count=`grep -c "REVOKE" rndc.out.$n`
567 [ "$count" -eq 0 ] || ret=1
569 count=`grep -c "trust" rndc.out.$n`
570 [ "$count" -eq 1 ] || ret=1
571 count=`grep -c "trusted since" rndc.out.$n`
572 [ "$count" -eq 1 ] || ret=1
598 count=`grep -c "keyid: " rndc.out.$n`
599 [ "$count" -eq 1 ] || ret=1
601 count=`grep -c "keyid: $keyid" rndc.out.$n`
602 [ "$count" -eq 1 ] || ret=1
604 count=`grep -c "REVOKE" rndc.out.$n`
605 [ "$count" -eq 0 ] || ret=1
607 count=`grep -c "trust" rndc.out.$n`
608 [ "$count" -eq 1 ] || ret=1
609 count=`grep -c "trusted since" rndc.out.$n`
610 [ "$count" -eq 1 ] || ret=1
671 count=`grep -c "Creating key fetch" ns5/named.run`
672 [ $count -lt 2 ] && ret=1