Lines Matching refs:ret
19 ret=0
20 $DIG $DIGOPTS @10.53.0.3 +short a a.example > dig.out.test$n || ret=1
21 if test `wc -l < dig.out.test$n` != 1 ; then ret=1 ; fi
22 if [ $ret != 0 ]; then echo "I:failed"; fi
23 status=`expr $status + $ret`
27 ret=0
28 $DIG $DIGOPTS @10.53.0.3 +split=4 -t sshfp foo.example > dig.out.test$n || ret=1
29 grep " 9ABC DEF6 7890 " < dig.out.test$n > /dev/null || ret=1
30 if [ $ret != 0 ]; then echo "I:failed"; fi
31 status=`expr $status + $ret`
35 ret=0
36 $DIG $DIGOPTS @10.53.0.3 +unknownformat a a.example > dig.out.test$n || ret=1
37 grep "CLASS1[ ][ ]*TYPE1[ ][ ]*\\\\# 4 0A000001" < dig.out.test$n > /dev/null || ret=1
38 if [ $ret != 0 ]; then echo "I:failed"; fi
39 status=`expr $status + $ret`
43 ret=0
44 $DIG $DIGOPTS @10.53.0.3 -x 127.0.0.1 > dig.out.test$n 2>&1 || ret=1
46 grep -i "127\.in-addr\.arpa\." < dig.out.test$n > /dev/null || ret=1
47 if [ $ret != 0 ]; then echo "I:failed"; fi
48 status=`expr $status + $ret`
52 ret=0
53 $DIG $DIGOPTS +tcp @10.53.0.3 a a.example > dig.out.test$n || ret=1
54 grep "10\.0\.0\.1$" < dig.out.test$n > /dev/null || ret=1
55 if [ $ret != 0 ]; then echo "I:failed"; fi
56 status=`expr $status + $ret`
60 ret=0
61 $DIG $DIGOPTS +tcp @10.53.0.3 +multi +norrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
62 grep "; ZSK; alg = RSAMD5 ; key id = 30795" < dig.out.test$n > /dev/null && ret=1
63 if [ $ret != 0 ]; then echo "I:failed"; fi
64 status=`expr $status + $ret`
68 ret=0
69 $DIG $DIGOPTS +tcp @10.53.0.3 +multi +norrcomments SOA example > dig.out.test$n || ret=1
70 grep "; ZSK; alg = RSAMD5 ; key id = 30795" < dig.out.test$n > /dev/null && ret=1
71 if [ $ret != 0 ]; then echo "I:failed"; fi
72 status=`expr $status + $ret`
76 ret=0
77 $DIG $DIGOPTS +tcp @10.53.0.3 +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
78 grep "; ZSK; alg = RSAMD5 ; key id = 30795" < dig.out.test$n > /dev/null || ret=1
79 if [ $ret != 0 ]; then echo "I:failed"; fi
80 status=`expr $status + $ret`
84 ret=0
85 $DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
86 grep "; ZSK; alg = RSAMD5 ; key id = 30795" < dig.out.test$n > /dev/null || ret=1
87 if [ $ret != 0 ]; then echo "I:failed"; fi
88 status=`expr $status + $ret`
92 ret=0
93 $DIG $DIGOPTS +tcp @10.53.0.3 +short +nosplit DNSKEY dnskey.example > dig.out.test$n || ret=1
94 grep "Z8plc4Rb9VIE5x7KNHAYTvTO5d4S8M=$" < dig.out.test$n > /dev/null || ret=1
95 if [ $ret != 0 ]; then echo "I:failed"; fi
96 status=`expr $status + $ret`
100 ret=0
101 $DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
102 grep "S8M= ; ZSK; alg = RSAMD5 ; key id = 30795$" < dig.out.test$n > /dev/null || ret=1
103 if [ $ret != 0 ]; then echo "I:failed"; fi
104 status=`expr $status + $ret`
108 ret=0
109 $DIG $DIGOPTS +tcp @10.53.0.3 +noheader-only A example > dig.out.test$n || ret=1
110 grep "Got answer:" < dig.out.test$n > /dev/null || ret=1
111 if [ $ret != 0 ]; then echo "I:failed"; fi
112 status=`expr $status + $ret`
116 ret=0
117 $DIG $DIGOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > dig.out.test$n || ret=1
118 grep "S8M= ; ZSK; alg = RSAMD5 ; key id = 30795$" < dig.out.test$n > /dev/null || ret=1
119 if [ $ret != 0 ]; then echo "I:failed"; fi
120 status=`expr $status + $ret`
123 ret=0
124 $DIG $DIGOPTS +tcp @10.53.0.3 +header-only example > dig.out.test$n || ret=1
125 grep "^;; flags: qr rd; QUERY: 0, ANSWER: 0," < dig.out.test$n > /dev/null || ret=1
126 grep "^;; QUESTION SECTION:" < dig.out.test$n > /dev/null && ret=1
127 if [ $ret != 0 ]; then echo "I:failed"; fi
128 status=`expr $status + $ret`
132 ret=0
133 $DIG $DIGOPTS +tcp @10.53.0.3 +header-only -c IN -t A example > dig.out.test$n || ret=1
134 grep "^;; flags: qr rd; QUERY: 0, ANSWER: 0," < dig.out.test$n > /dev/null || ret=1
135 grep "^;; QUESTION SECTION:" < dig.out.test$n > /dev/null && ret=1
136 if [ $ret != 0 ]; then echo "I:failed"; fi
137 status=`expr $status + $ret`
141 ret=0
142 $DIG $DIGOPTS +tcp @10.53.0.3 +zflag +qr A example > dig.out.test$n || ret=1
143 sed -n '/Sending:/,/Got answer:/p' dig.out.test$n | grep "^;; flags: rd ad; MBZ: 0x4;" > /dev/null || ret=1
144 sed -n '/Got answer:/,/AUTHORITY SECTION:/p' dig.out.test$n | grep "^;; flags: qr rd ra; QUERY: 1" > /dev/null || ret=1
145 if [ $ret != 0 ]; then echo "I:failed"; fi
146 status=`expr $status + $ret`
150 ret=0
151 $DIG $DIGOPTS @10.53.0.3 +ednsopt=08 +qr a a.example > dig.out.test$n || ret=1
152 grep "INSIST" < dig.out.test$n > /dev/null && ret=1
153 grep "FORMERR" < dig.out.test$n > /dev/null || ret=1
154 if [ $ret != 0 ]; then echo "I:failed"; fi
155 status=`expr $status + $ret`
158 ret=0
159 $DIG $DIGOPTS +tcp @10.53.0.2 +ttlunits A weeks.example > dig.out.test$n || ret=1
160 grep "^weeks.example. 3w" < dig.out.test$n > /dev/null || ret=1
161 $DIG $DIGOPTS +tcp @10.53.0.2 +ttlunits A days.example > dig.out.test$n || ret=1
162 grep "^days.example. 3d" < dig.out.test$n > /dev/null || ret=1
163 $DIG $DIGOPTS +tcp @10.53.0.2 +ttlunits A hours.example > dig.out.test$n || ret=1
164 grep "^hours.example. 3h" < dig.out.test$n > /dev/null || ret=1
165 $DIG $DIGOPTS +tcp @10.53.0.2 +ttlunits A minutes.example > dig.out.test$n || ret=1
166 grep "^minutes.example. 45m" < dig.out.test$n > /dev/null || ret=1
167 $DIG $DIGOPTS +tcp @10.53.0.2 +ttlunits A seconds.example > dig.out.test$n || ret=1
168 grep "^seconds.example. 45s" < dig.out.test$n > /dev/null || ret=1
169 if [ $ret != 0 ]; then echo "I:failed"; fi
170 status=`expr $status + $ret`
174 ret=0
175 $DIG $DIGOPTS +tcp @10.53.0.2 +ttlunits +nottlid A weeks.example > dig.out.test$n || ret=1
176 grep "^weeks.example. IN" < dig.out.test$n > /dev/null || ret=1
177 $DIG $DIGOPTS +tcp @10.53.0.2 +nottlid +ttlunits A weeks.example > dig.out.test$n || ret=1
178 grep "^weeks.example. 3w" < dig.out.test$n > /dev/null || ret=1
179 $DIG $DIGOPTS +tcp @10.53.0.2 +nottlid +nottlunits A weeks.example > dig.out.test$n || ret=1
180 grep "^weeks.example. 1814400" < dig.out.test$n > /dev/null || ret=1
181 if [ $ret != 0 ]; then echo "I:failed"; fi
182 status=`expr $status + $ret`
186 ret=0
189 $DIG $DIGOPTS -d +tcp @10.53.0.4 +retry=1 +time=1 +domain=bar foo > dig.out.test$n 2>&1 && ret=1
191 [ ${l:-0} -eq 2 ] || ret=1
192 grep "using root origin" < dig.out.test$n > /dev/null && ret=1
193 if [ $ret != 0 ]; then echo "I:failed"; fi
194 status=`expr $status + $ret`
198 ret=0
199 $DIG $DIGOPTS +tcp @10.53.0.2 -4 -6 A a.example > dig.out.test$n 2>&1 && ret=1
200 grep "only one of -4 and -6 allowed" < dig.out.test$n > /dev/null || ret=1
201 if [ $ret != 0 ]; then echo "I:failed"; fi
202 status=`expr $status + $ret`
208 ret=0
209 $DIG $DIGOPTS +tcp @fd92:7065:b8e:ffff::2 -4 A a.example > dig.out.test$n 2>&1 && ret=1
210 grep "address family not supported" < dig.out.test$n > /dev/null || ret=1
211 if [ $ret != 0 ]; then echo "I:failed"; fi
212 status=`expr $status + $ret`
221 ret=0
222 ret=0
223 $DIG $DIGOPTS +tcp @10.53.0.2 -6 +mapped A a.example > dig.out.test$n 2>&1 || ret=1
224 grep "SERVER: ::ffff:10.53.0.2#5300" < dig.out.test$n > /dev/null || ret=1
225 if [ $ret != 0 ]; then echo "I:failed"; fi
226 status=`expr $status + $ret`
235 ret=0
236 ret=0
237 $DIG $DIGOPTS +tcp @10.53.0.2 -6 +nomapped A a.example > dig.out.test$n 2>&1 || ret=1
238 grep "SERVER: ::ffff:10.53.0.2#5300" < dig.out.test$n > /dev/null && ret=1
239 if [ $ret != 0 ]; then echo "I:failed"; fi
240 status=`expr $status + $ret`
249 ret=0
250 ret=0
251 $DIG $DIGOPTS +notcp @10.53.0.2 -6 +nomapped A a.example > dig.out.test$n 2>&1 || ret=1
252 grep "SERVER: ::ffff:10.53.0.2#5300" < dig.out.test$n > /dev/null && ret=1
253 if [ $ret != 0 ]; then echo "I:failed"; fi
254 status=`expr $status + $ret`
261 ret=0
262 $DIG $DIGOPTS +tcp @10.53.0.2 +subnet=127.0.0.1 A a.example > dig.out.test$n 2>&1 || ret=1
263 grep "CLIENT-SUBNET: 127.0.0.1/32/0" < dig.out.test$n > /dev/null || ret=1
264 if [ $ret != 0 ]; then echo "I:failed"; fi
265 status=`expr $status + $ret`
269 ret=0
270 $DIG $DIGOPTS +tcp @10.53.0.2 +subnet=127.0.0.0 +subnet=127.0.0.1 A a.example > dig.out.test$n 2>&1 || ret=1
271 grep "CLIENT-SUBNET: 127.0.0.1/32/0" < dig.out.test$n > /dev/null || ret=1
272 if [ $ret != 0 ]; then echo "I:failed"; fi
273 status=`expr $status + $ret`
277 ret=0
279 $DIG $DIGOPTS +tcp @10.53.0.2 +subnet=255.255.255.255/$i A a.example > dig.out.$i.test$n 2>&1 || ret=1
295 grep "FORMERR" < dig.out.$i.test$n > /dev/null && ret=1
296 grep "CLIENT-SUBNET: $addr/$i/0" < dig.out.$i.test$n > /dev/null || ret=1
298 if [ $ret != 0 ]; then echo "I:failed"; fi
299 status=`expr $status + $ret`
303 ret=0
304 $DIG $DIGOPTS +tcp @10.53.0.2 +subnet=0/0 A a.example > dig.out.test$n 2>&1 || ret=1
305 grep "status: NOERROR" < dig.out.test$n > /dev/null || ret=1
306 grep "CLIENT-SUBNET: 0.0.0.0/0/0" < dig.out.test$n > /dev/null || ret=1
307 grep "10.0.0.1" < dig.out.test$n > /dev/null || ret=1
308 if [ $ret != 0 ]; then echo "I:failed"; fi
309 status=`expr $status + $ret`
313 ret=0
314 $DIG $DIGOPTS +tcp @10.53.0.2 +subnet=0 A a.example > dig.out.test$n 2>&1 || ret=1
315 grep "status: NOERROR" < dig.out.test$n > /dev/null || ret=1
316 grep "CLIENT-SUBNET: 0.0.0.0/0/0" < dig.out.test$n > /dev/null || ret=1
317 grep "10.0.0.1" < dig.out.test$n > /dev/null || ret=1
318 if [ $ret != 0 ]; then echo "I:failed"; fi
319 status=`expr $status + $ret`
323 ret=0
324 $DIG $DIGOPTS +tcp @10.53.0.2 +subnet=::/0 A a.example > dig.out.test$n 2>&1 || ret=1
325 grep "status: NOERROR" < dig.out.test$n > /dev/null || ret=1
326 grep "CLIENT-SUBNET: ::/0/0" < dig.out.test$n > /dev/null || ret=1
327 grep "10.0.0.1" < dig.out.test$n > /dev/null || ret=1
328 if [ $ret != 0 ]; then echo "I:failed"; fi
329 status=`expr $status + $ret`
333 ret=0
334 $DIG $DIGOPTS +tcp @10.53.0.2 +ednsopt=8:00000000 A a.example > dig.out.test$n 2>&1 || ret=1
335 grep "status: NOERROR" < dig.out.test$n > /dev/null || ret=1
336 grep "CLIENT-SUBNET: 0/0/0" < dig.out.test$n > /dev/null || ret=1
337 grep "10.0.0.1" < dig.out.test$n > /dev/null || ret=1
338 if [ $ret != 0 ]; then echo "I:failed"; fi
339 status=`expr $status + $ret`
343 ret=0
344 $DIG $DIGOPTS +qr +tcp @10.53.0.2 +ednsopt=8:00030000 A a.example > dig.out.test$n 2>&1 || ret=1
345 grep "status: FORMERR" < dig.out.test$n > /dev/null || ret=1
346 grep "CLIENT-SUBNET: 00 03 00 00" < dig.out.test$n > /dev/null || ret=1
348 [ ${lines:-0} -eq 1 ] || ret=1
349 if [ $ret != 0 ]; then echo "I:failed"; fi
350 status=`expr $status + $ret`
354 ret=0
356 $DIG $DIGOPTS +tcp @10.53.0.2 +subnet=10.53/$p A a.example > dig.out.test.$p.$n 2>&1 || ret=1
357 grep "FORMERR" < dig.out.test.$p.$n > /dev/null && ret=1
358 grep "CLIENT-SUBNET.*/$p/0" < dig.out.test.$p.$n > /dev/null || ret=1
360 if [ $ret != 0 ]; then echo "I:failed"; fi
361 status=`expr $status + $ret`
365 ret=0
366 $DIG $DIGOPTS @10.53.0.3 +sp=4 -t sshfp foo.example > dig.out.test$n || ret=1
367 grep " 9ABC DEF6 7890 " < dig.out.test$n > /dev/null || ret=1
368 if [ $ret != 0 ]; then echo "I:failed"; fi
369 status=`expr $status + $ret`
373 ret=0
374 $DIG $DIGOPTS @10.53.0.3 -c CHAOS -t txt version.bind > dig.out.test$n || ret=1
375 grep "version.bind. 0 CH TXT" < dig.out.test$n > /dev/null || ret=1
376 if [ $ret != 0 ]; then echo "I:failed"; fi
377 status=`expr $status + $ret`
381 ret=0
382 $DIG $DIGOPTS @10.53.0.3 +dscp=32 a a.example > /dev/null 2>&1 || ret=1
383 $DIG $DIGOPTS @10.53.0.3 +dscp=-1 a a.example > /dev/null 2>&1 && ret=1
384 $DIG $DIGOPTS @10.53.0.3 +dscp=64 a a.example > /dev/null 2>&1 && ret=1
387 if [ $ret != 0 ]; then echo "I:failed"; fi
388 status=`expr $status + $ret`
392 ret=0
393 $DIG $DIGOPTS @10.53.0.3 +ednsopt=3 a.example > dig.out.test$n 2>&1 || ret=1
394 grep 'NSID: .* ("ns3")' dig.out.test$n > /dev/null || ret=1
395 if [ $ret != 0 ]; then echo "I:failed"; fi
396 status=`expr $status + $ret`
400 ret=0
401 $DIG $DIGOPTS @10.53.0.3 +ednsopt=nsid a.example > dig.out.test$n 2>&1 || ret=1
402 grep 'NSID: .* ("ns3")' dig.out.test$n > /dev/null || ret=1
403 if [ $ret != 0 ]; then echo "I:failed"; fi
404 status=`expr $status + $ret`
410 ret=0
411 $DIG $DIGOPTS @10.53.0.3 +noidnout xn--caf-dma.example. > dig.out.1.test$n 2>&1 || ret=1
412 $DIG $DIGOPTS @10.53.0.3 +idnout xn--caf-dma.example. > dig.out.2.test$n 2>&1 || ret=1
413 grep "^xn--caf-dma.example" dig.out.1.test$n > /dev/null || ret=1
414 grep "^xn--caf-dma.example" dig.out.2.test$n > /dev/null && ret=1
415 grep 10.1.2.3 dig.out.1.test$n > /dev/null || ret=1
416 grep 10.1.2.3 dig.out.2.test$n > /dev/null || ret=1
417 if [ $ret != 0 ]; then echo "I:failed"; fi
418 status=`expr $status + $ret`
425 ret=0
426 $DIG $DIGOPTS @10.53.0.3 local soa > dig.out.test$n 2>&1 || ret=1
427 grep ";; WARNING: .local is reserved for Multicast DNS" dig.out.test$n > /dev/null || ret=1
428 if [ $ret != 0 ]; then echo "I:failed"; fi
429 status=`expr $status + $ret`
433 $DIG $DIGOPTS @10.53.0.3 +ednsopt=key-tag a.example +qr > dig.out.test$n 2>&1 || ret=1
434 grep "; KEY-TAG$" dig.out.test$n > /dev/null || ret=1
435 grep "status: FORMERR" dig.out.test$n > /dev/null || ret=1
436 if [ $ret != 0 ]; then echo "I:failed"; fi
437 status=`expr $status + $ret`
441 $DIG $DIGOPTS @10.53.0.3 +ednsopt=key-tag:00010002 a.example +qr > dig.out.test$n 2>&1 || ret=1
442 grep "; KEY-TAG: 1, 2$" dig.out.test$n > /dev/null || ret=1
443 grep "status: FORMERR" dig.out.test$n > /dev/null && ret=1
444 if [ $ret != 0 ]; then echo "I:failed"; fi
445 status=`expr $status + $ret`
449 ret=0
450 $DIG $DIGOPTS @10.53.0.3 +ednsopt=key-tag:0001000201 a.example +qr > dig.out.test$n 2>&1 || ret=1
451 grep "; KEY-TAG: 00 01 00 02 01" dig.out.test$n > /dev/null || ret=1
452 grep "status: FORMERR" dig.out.test$n > /dev/null || ret=1
453 if [ $ret != 0 ]; then echo "I:failed"; fi
454 status=`expr $status + $ret`
466 ret=0
467 $DELV $DELVOPTS @10.53.0.3 +short a a.example > delv.out.test$n || ret=1
468 if test `wc -l < delv.out.test$n` != 1 ; then ret=1 ; fi
469 if [ $ret != 0 ]; then echo "I:failed"; fi
470 status=`expr $status + $ret`
474 ret=0
475 $DELV $DELVOPTS @10.53.0.3 +split=4 -t sshfp foo.example > delv.out.test$n || ret=1
476 grep " 9ABC DEF6 7890 " < delv.out.test$n > /dev/null || ret=1
477 if [ $ret != 0 ]; then echo "I:failed"; fi
478 status=`expr $status + $ret`
482 ret=0
483 $DELV $DELVOPTS @10.53.0.3 +unknownformat a a.example > delv.out.test$n || ret=1
484 grep "CLASS1[ ][ ]*TYPE1[ ][ ]*\\\\# 4 0A000001" < delv.out.test$n > /dev/null || ret=1
485 if [ $ret != 0 ]; then echo "I:failed"; fi
486 status=`expr $status + $ret`
490 ret=0
491 $DELV $DELVOPTS @10.53.0.3 -4 -6 A a.example > delv.out.test$n 2>&1 && ret=1
492 grep "only one of -4 and -6 allowed" < delv.out.test$n > /dev/null || ret=1
493 if [ $ret != 0 ]; then echo "I:failed"; fi
494 status=`expr $status + $ret`
500 ret=0
506 grep "testing" < delv.out.test$n > /dev/null && ret=1
507 grep "Use of IPv4 disabled by -6" delv.out.test$n > /dev/null || ret=1
508 if [ $ret != 0 ]; then echo "I:failed"; fi
509 status=`expr $status + $ret`
518 ret=0
524 grep "testing" delv.out.test$n > /dev/null && ret=1
525 grep "Use of IPv6 disabled by -4" delv.out.test$n > /dev/null || ret=1
526 if [ $ret != 0 ]; then echo "I:failed"; fi
527 status=`expr $status + $ret`
534 ret=0
535 $DELV $DELVOPTS @10.53.0.3 -x 127.0.0.1 > delv.out.test$n 2>&1 || ret=1
537 grep -i "127\.in-addr\.arpa\." < delv.out.test$n > /dev/null || ret=1
538 if [ $ret != 0 ]; then echo "I:failed"; fi
539 status=`expr $status + $ret`
543 ret=0
544 $DELV $DELVOPTS +tcp @10.53.0.3 a a.example > delv.out.test$n || ret=1
545 grep "10\.0\.0\.1$" < delv.out.test$n > /dev/null || ret=1
546 if [ $ret != 0 ]; then echo "I:failed"; fi
547 status=`expr $status + $ret`
551 ret=0
552 $DELV $DELVOPTS +tcp @10.53.0.3 +multi +norrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
553 grep "; ZSK; alg = RSAMD5 ; key id = 30795" < delv.out.test$n > /dev/null && ret=1
554 if [ $ret != 0 ]; then echo "I:failed"; fi
555 status=`expr $status + $ret`
559 ret=0
560 $DELV $DELVOPTS +tcp @10.53.0.3 +multi +norrcomments SOA example > delv.out.test$n || ret=1
561 grep "; ZSK; alg = RSAMD5 ; key id = 30795" < delv.out.test$n > /dev/null && ret=1
562 if [ $ret != 0 ]; then echo "I:failed"; fi
563 status=`expr $status + $ret`
567 ret=0
568 $DELV $DELVOPTS +tcp @10.53.0.3 +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
569 grep "; ZSK; alg = RSAMD5 ; key id = 30795" < delv.out.test$n > /dev/null || ret=1
570 if [ $ret != 0 ]; then echo "I:failed"; fi
571 status=`expr $status + $ret`
575 ret=0
576 $DELV $DELVOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
577 grep "; ZSK; alg = RSAMD5 ; key id = 30795" < delv.out.test$n > /dev/null || ret=1
578 if [ $ret != 0 ]; then echo "I:failed"; fi
579 status=`expr $status + $ret`
583 ret=0
584 $DELV $DELVOPTS +tcp @10.53.0.3 +short +rrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
585 grep "S8M= ; ZSK; alg = RSAMD5 ; key id = 30795$" < delv.out.test$n > /dev/null || ret=1
586 if [ $ret != 0 ]; then echo "I:failed"; fi
587 status=`expr $status + $ret`
591 ret=0
592 $DELV $DELVOPTS +tcp @10.53.0.3 +short +nosplit DNSKEY dnskey.example > delv.out.test$n || ret=1
593 grep "Z8plc4Rb9VIE5x7KNHAYTvTO5d4S8M=" < delv.out.test$n > /dev/null || ret=1
594 if test `wc -l < delv.out.test$n` != 1 ; then ret=1 ; fi
596 test "${f:-0}" -eq 14 || ret=1
597 if [ $ret != 0 ]; then echo "I:failed"; fi
598 status=`expr $status + $ret`
602 ret=0
603 $DELV $DELVOPTS +tcp @10.53.0.3 +short +nosplit +norrcomments DNSKEY dnskey.example > delv.out.test$n || ret=1
604 grep "Z8plc4Rb9VIE5x7KNHAYTvTO5d4S8M=$" < delv.out.test$n > /dev/null || ret=1
605 if test `wc -l < delv.out.test$n` != 1 ; then ret=1 ; fi
607 test "${f:-0}" -eq 4 || ret=1
608 if [ $ret != 0 ]; then echo "I:failed"; fi
609 status=`expr $status + $ret`
613 ret=0
614 $DELV $DELVOPTS @10.53.0.3 +sp=4 -t sshfp foo.example > delv.out.test$n || ret=1
615 grep " 9ABC DEF6 7890 " < delv.out.test$n > /dev/null || ret=1
616 if [ $ret != 0 ]; then echo "I:failed"; fi
617 status=`expr $status + $ret`
621 ret=0
622 $DELV $DELVOPTS @10.53.0.3 +sh a a.example > delv.out.test$n || ret=1
623 if test `wc -l < delv.out.test$n` != 1 ; then ret=1 ; fi
624 if [ $ret != 0 ]; then echo "I:failed"; fi
625 status=`expr $status + $ret`
629 ret=0
630 $DELV $DELVOPTS @10.53.0.3 -c IN -t a a.example > delv.out.test$n || ret=1
631 grep "a.example." < delv.out.test$n > /dev/null || ret=1
632 if [ $ret != 0 ]; then echo "I:failed"; fi
633 status=`expr $status + $ret`
637 ret=0
638 $DELV $DELVOPTS @10.53.0.3 -c CH -t a a.example > delv.out.test$n || ret=1
639 grep "a.example." < delv.out.test$n > /dev/null || ret=1
640 if [ $ret != 0 ]; then echo "I:failed"; fi
641 status=`expr $status + $ret`