Searched refs:ret (Results 1 - 25 of 218) sorted by relevance

123456789

/bind-9.11.3/bin/tests/system/rpzrecurse/
H A Dprereq.sh12 ret=0
13 $FEATURETEST --rpz-nsdname || ret=1
14 $FEATURETEST --rpz-nsip || ret=1
16 if [ $ret != 0 ]; then
/bind-9.11.3/bin/tests/system/tkey/
H A Dtests.sh19 ret=0
20 dhkeyname=`$KEYGEN -T KEY -a DH -b 768 -n host -r $RANDFILE client` || ret=1
21 if [ $ret != 0 ]; then
23 status=`expr $status + $ret`
27 status=`expr $status + $ret`
32 ret=0
33 keyname=`$KEYCREATE $dhkeyname $owner` || ret=1
34 if [ $ret != 0 ]; then
36 status=`expr $status + $ret`
40 status=`expr $status + $ret`
[all...]
/bind-9.11.3/bin/tests/system/unknown/
H A Dtests.sh21 ret=0
22 $DIG +short $DIGOPTS @10.53.0.1 a$i.example a in > dig.out || ret=1
23 echo 10.0.0.1 | $DIFF - dig.out || ret=1
24 if [ $ret != 0 ]
28 status=`expr $status + $ret`
34 ret=0
35 $DIG +short $DIGOPTS @10.53.0.1 txt$i.example txt in > dig.out || ret=1
36 echo '"hello"' | $DIFF - dig.out || ret=1
37 if [ $ret != 0 ]
41 status=`expr $status + $ret`
[all...]
/bind-9.11.3/bin/tests/virtual-time/slave/
H A Dtests.sh21 ret=0
22 $DIG $DIGOPTS txt.example. txt @10.53.0.1 > dig.out.before || ret=1
25 $DIG $DIGOPTS txt.example. txt @10.53.0.1 > dig.out.after || ret=1
26 if [ $ret != 0 ]; then echo "I:failed"; fi
27 status=`expr $status + $ret`
29 ret=0
30 grep "status: NOERROR" dig.out.before > /dev/null || ret=1
31 if [ $ret -eq 1 ] ; then
34 ret=0
35 grep "status: SERVFAIL" dig.out.after > /dev/null || ret
[all...]
/bind-9.11.3/bin/tests/system/rsabigexponent/
H A Dtests.sh23 ret=0
24 $CHECKCONF $f > /dev/null || ret=1
25 if [ $ret != 0 ]; then echo "I:failed"; fi
26 status=`expr $status + $ret`
32 ret=0
33 $CHECKCONF $f > /dev/null && ret=1
34 if [ $ret != 0 ]; then echo "I:failed"; fi
35 status=`expr $status + $ret`
39 ret=0
40 grep "out of range" ns2/signer.err > /dev/null || ret
[all...]
/bind-9.11.3/bin/tests/system/checkconf/
H A Dtests.sh15 ret=0
16 $CHECKCONF good.conf > /dev/null 2>&1 || ret=1
17 if [ $ret != 0 ]; then echo "I:failed"; fi
18 status=`expr $status + $ret`
22 ret=0
24 [ -s good.conf.in ] || ret=1
25 $CHECKCONF -p good.conf.in | grep -v '^good.conf.in:' > good.conf.out 2>&1 || ret=1
26 cmp good.conf.in good.conf.out || ret=1
27 if [ $ret != 0 ]; then echo "I:failed"; fi
28 status=`expr $status + $ret`
[all...]
/bind-9.11.3/bin/tests/system/integrity/
H A Dtests.sh16 ret=0
17 $DIG -p 5300 @10.53.0.1 mx mx-cname-fail > dig.out.test$n || ret=1
18 grep "status: SERVFAIL," dig.out.test$n > /dev/null || ret=1
19 grep "zone mx-cname-fail/IN: mx-cname-fail/MX 'cname.mx-cname-fail' is a CNAME (illegal)" ns1/named.run > /dev/null || ret=1
21 if [ $ret != 0 ]; then echo "I:failed"; fi
22 status=`expr $status + $ret`
25 ret=0
26 $DIG -p 5300 @10.53.0.1 mx mx-cname-warn > dig.out.test$n || ret=1
27 grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
28 grep "zone mx-cname-warn/IN: mx-cname-warn/MX 'cname.mx-cname-warn' is a CNAME (illegal)" ns1/named.run > /dev/null || ret
[all...]
/bind-9.11.3/bin/tests/system/statistics/
H A Dtests.sh20 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
[all...]
/bind-9.11.3/bin/tests/system/checkds/
H A Dtests.sh26 ret=0
27 $CHECKDS ok.example > checkds.out.$n 2>&1 || ret=1
28 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
29 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret=1
31 if [ $ret != 0 ]; then echo "I:failed"; fi
32 status=`expr $status + $ret`
35 ret=0
36 $CHECKDS -f ok.example.dnskey.db ok.example > checkds.out.$n || ret=1
37 grep 'SHA-1' checkds.out.$n > /dev/null 2>&1 || ret=1
38 grep 'SHA-256' checkds.out.$n > /dev/null 2>&1 || ret
[all...]
/bind-9.11.3/bin/tests/system/pending/
H A Dtests.sh50 ret=0
52 ans=`$DIG $DIGOPTS_CD @10.53.0.4 hostile MX` || ret=1
53 test "$ans" = "$expect" || ret=1
54 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
55 status=`expr $status + $ret`
58 ret=0
60 ans=`$DIG $DIGOPTS_CD @10.53.0.4 mail.example A` || ret=1
61 test "$ans" = "$expect" || ret=1
62 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'"
63 status=`expr $status + $ret`
[all...]
/bind-9.11.3/bin/tests/system/spf/
H A Dtests.sh16 ret=0
18 grep "zone spf/IN: loaded serial 0" ns1/named.run > /dev/null || ret=1
19 grep "'y.spf' found type SPF" ns1/named.run > /dev/null || ret=1
20 grep "'spf' found type SPF" ns1/named.run > /dev/null && ret=1
22 grep "zone warn/IN: loaded serial 0" ns1/named.run > /dev/null || ret=1
23 grep "'y.warn' found type SPF" ns1/named.run > /dev/null || ret=1
24 grep "'warn' found type SPF" ns1/named.run > /dev/null && ret=1
26 grep "zone nowarn/IN: loaded serial 0" ns1/named.run > /dev/null || ret=1
27 grep "'y.nowarn' found type SPF" ns1/named.run > /dev/null && ret=1
28 grep "'nowarn' found type SPF" ns1/named.run > /dev/null && ret
[all...]
/bind-9.11.3/bin/tests/system/digdelv/
H A Dtests.sh19 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`
[all...]
/bind-9.11.3/bin/tests/system/upforwd/
H A Dtests.sh26 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`; f
[all...]
/bind-9.11.3/bin/tests/system/catz/
H A Dtests.sh18 ret=0
20 grep "status: REFUSED" dig.out.test$n > /dev/null || ret=1
21 if [ $ret != 0 ]; then echo "I: failed"; fi
22 status=`expr $status + $ret`
26 ret=0
29 $RNDC -c ../common/rndc.conf -s 10.53.0.1 -p 9953 addzone dom1.example '{type master; file "dom1.example.db";};' || ret=1
30 if [ $ret != 0 ]; then echo "I: failed"; fi
31 status=`expr $status + $ret`
35 ret=0
37 grep "status: NOERROR" dig.out.test$n > /dev/null || ret
[all...]
/bind-9.11.3/bin/tests/system/wildcard/
H A Dtests.sh23 ret=0
24 $DIG $DIGOPTS a b.wild.nsec +norec @10.53.0.1 > dig.out.ns1.test$n || ret=1
25 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns1.test$n > /dev/null || ret=1
26 if [ $ret != 0 ]; then echo "I:failed"; fi
27 status=`expr $status + $ret`
31 ret=0
32 $DIG $DIGOPTS a b.wild.nsec @10.53.0.2 > dig.out.ns2.test$n || ret=1
33 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns2.test$n > /dev/null || ret=1
34 grep -i 'flags:.* ad[ ;]' dig.out.ns2.test$n > /dev/null && ret=1
35 if [ $ret !
[all...]
/bind-9.11.3/bin/tests/system/metadata/
H A Dtests.sh55 ret=0
56 grep "DNSKEY $ksk"'$' sigs > /dev/null || ret=1
57 grep "SOA $ksk"'$' sigs > /dev/null && ret=1
59 if [ $ret != 0 ]; then echo "I:failed"; fi
60 status=`expr $status + $ret`
63 ret=0
64 grep "SOA $zsk"'$' sigs > /dev/null || ret=1
66 if [ $ret != 0 ]; then echo "I:failed"; fi
67 status=`expr $status + $ret`
70 ret
[all...]
/bind-9.11.3/bin/tests/system/dnstap/
H A Dtests.sh18 ret=0
21 if [ $? != 1 ]; then echo "I:failed"; ret=1; fi
22 status=`expr $status + $ret`
27 ret=0
30 if [ $? != 0 ]; then echo "I:failed"; ret=1; fi
31 status=`expr $status + $ret`
95 ret=0
98 ret=1
102 ret=1
106 ret
[all...]
/bind-9.11.3/bin/tests/system/dns64/
H A Dtests.sh24 ret=0
25 $CHECKCONF "$conf" || ret=1
27 if [ $ret != 0 ]; then echo "I:failed"; fi
28 status=`expr $status + $ret`
34 ret=0
35 $CHECKCONF "$conf" >/dev/null && ret=1
37 if [ $ret != 0 ]; then echo "I:failed"; fi
38 status=`expr $status + $ret`
44 ret=0
45 $DIG $DIGOPTS aaaa-only.example. @10.53.0.2 -b 10.53.0.2 aaaa > dig.out.ns2.test$n || ret
[all...]
/bind-9.11.3/bin/tests/system/eddsa/
H A Dtests.sh24 ret=0
25 $DIG $DIGOPTS . @10.53.0.1 soa > dig.out.ns1.test$n || ret=1
26 $DIG $DIGOPTS . @10.53.0.2 soa > dig.out.ns2.test$n || ret=1
27 $PERL ../digcomp.pl dig.out.ns1.test$n dig.out.ns2.test$n || ret=1
28 grep "flags:.*ad.*QUERY" dig.out.ns2.test$n > /dev/null || ret=1
30 if [ $ret != 0 ]; then echo "I:failed"; fi
31 status=`expr $status + $ret`
36 ret=0
37 grep 'oL9krJun7xfBOIWcGHi7mag5/hdZrKWw15jP' ns2/example.com.db.signed > /dev/null || ret=1
38 grep 'VrbpMngwcrqNAg==' ns2/example.com.db.signed > /dev/null || ret
[all...]
/bind-9.11.3/bin/tests/system/dlv/
H A Dtests.sh22 ret=0
23 $DIG $DIGOPTS child1.utld dnskey @10.53.0.5 > dig.out.ns5.test$n || ret=1
24 grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null || ret=1
26 if [ $ret != 0 ]; then echo "I:failed"; fi
27 status=`expr $status + $ret`
30 ret=0
31 $DIG $DIGOPTS grand.child1.utld dnskey @10.53.0.5 > dig.out.ns5.test$n || ret=1
32 grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null || ret=1
34 if [ $ret != 0 ]; then echo "I:failed"; fi
35 status=`expr $status + $ret`
[all...]
/bind-9.11.3/bin/tests/system/dscp/
H A Dtests.sh25 ret=0
27 grep "status: NOERROR" dig.out.$server > /dev/null || ret=1
28 test $ret = 0 && break
31 test $ret = 0 || { echo "I:failed"; status=`expr $status + $ret`; }
/bind-9.11.3/bin/tests/system/dsdigest/
H A Dtests.sh23 ret=0
24 $DIG $DIGOPTS a.good. @10.53.0.3 a > dig.out.good || ret=1
25 grep "status: NOERROR" dig.out.good > /dev/null || ret=1
26 grep "flags:[^;]* ad[ ;]" dig.out.good > /dev/null || ret=1
27 if [ $ret != 0 ]; then echo "I:failed"; fi
28 status=`expr $status + $ret`
33 ret=0
34 $DIG $DIGOPTS a.bad. @10.53.0.3 a > dig.out.bad || ret=1
35 grep "SERVFAIL" dig.out.bad > /dev/null || ret=1
36 if [ $ret !
[all...]
/bind-9.11.3/bin/tests/system/checkzone/
H A Dtests.sh16 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 !
[all...]
/bind-9.11.3/bin/tests/system/redirect/
H A Dtests.sh24 ret=0
25 $CHECKCONF "$conf" || ret=1
27 if [ $ret != 0 ]; then echo "I:failed"; fi
28 status=`expr $status + $ret`
34 ret=0
35 $CHECKCONF "$conf" >/dev/null && ret=1
37 if [ $ret != 0 ]; then echo "I:failed"; fi
38 status=`expr $status + $ret`
42 ret=0
43 $DIG $DIGOPTS nonexist. @10.53.0.2 -b 10.53.0.2 a > dig.out.ns2.test$n || ret
[all...]
/bind-9.11.3/bin/tests/system/forward/
H A Dtests.sh20 ret=0
21 $DIG +noadd +noauth txt.example1. txt @$hidden -p 5300 > dig.out.hidden || ret=1
22 $DIG +noadd +noauth txt.example1. txt @$f1 -p 5300 > dig.out.f1 || ret=1
23 $PERL ../digcomp.pl dig.out.hidden dig.out.f1 || ret=1
24 if [ $ret != 0 ]; then echo "I:failed"; fi
25 status=`expr $status + $ret`
28 ret=0
29 $DIG +noadd +noauth txt.example2. txt @$root -p 5300 > dig.out.root || ret=1
30 $DIG +noadd +noauth txt.example2. txt @$f1 -p 5300 > dig.out.f1 || ret=1
31 $PERL ../digcomp.pl dig.out.root dig.out.f1 || ret
[all...]

Completed in 29 milliseconds

123456789