| /bind-9.6-ESV-R11/bin/tests/system/dname/ |
| H A D | tests.sh | 25 ret=0 26 $DIG a.short-dname.example @10.53.0.2 a -p 5300 > dig.out.ns2.short || ret=1 27 grep "status: NOERROR" dig.out.ns2.short > /dev/null || ret=1 28 if [ $ret != 0 ]; then echo "I:failed"; fi 29 status=`expr $status + $ret` 32 ret=0 33 $DIG a.short-dname.example @10.53.0.4 a -p 5300 > dig.out.ns4.short || ret=1 34 grep "status: NOERROR" dig.out.ns4.short > /dev/null || ret=1 35 if [ $ret != 0 ]; then echo "I:failed"; fi 36 status=`expr $status + $ret` [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/tkey/ |
| H A D | tests.sh | 30 ret=0 31 dhkeyname=`$KEYGEN -k -a DH -b 768 -n host -r $RANDFILE client` || ret=1 32 if [ $ret != 0 ]; then 34 status=`expr $status + $ret` 38 status=`expr $status + $ret` 43 ret=0 44 keyname=`./keycreate $dhkeyname $owner` || ret=1 45 if [ $ret != 0 ]; then 50 status=`expr $status + $ret` 53 ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/unknown/ |
| H A D | tests.sh | 30 ret=0 31 $DIG +short $DIGOPTS @10.53.0.1 a$i.example a in > dig.out || ret=1 32 echo 10.0.0.1 | diff - dig.out || ret=1 33 if [ $ret != 0 ] 37 status=`expr $status + $ret` 43 ret=0 44 $DIG +short $DIGOPTS @10.53.0.1 txt$i.example txt in > dig.out || ret=1 45 echo '"hello"' | diff - dig.out || ret=1 46 if [ $ret != 0 ] 50 status=`expr $status + $ret` [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/rndc/ |
| H A D | tests.sh | 27 ret=0 28 $RNDCCMD status > /dev/null || ret=1 29 if [ $ret != 0 ]; then echo "I:failed"; fi 30 status=`expr $status + $ret` 33 ret=0 34 $RNDC -s 10.53.0.2 -p 9953 -c ns2/secondkey.conf status > /dev/null || ret=1 35 if [ $ret != 0 ]; then echo "I:failed"; fi 36 status=`expr $status + $ret` 39 ret=0 40 $RNDC -s 10.53.0.3 -p 9953 -c ../common/rndc.conf dumpdb > /dev/null || ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/checkconf/ |
| H A D | tests.sh | 24 ret=0 25 $CHECKCONF good.conf > /dev/null 2>&1 || ret=1 26 if [ $ret != 0 ]; then echo "I:failed"; fi 27 status=`expr $status + $ret` 30 ret=1 31 $CHECKCONF bad.conf > /dev/null 2>&1 || ret=0 32 if [ $ret != 0 ]; then echo "I:failed"; fi 33 status=`expr $status + $ret` 36 ret=0 38 if [ $? != 1 ]; then echo "I:failed"; ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/forward/ |
| H A D | tests.sh | 29 ret=0 30 $DIG txt.example1. txt @$hidden -p 5300 > dig.out.hidden || ret=1 31 $DIG txt.example1. txt @$f1 -p 5300 > dig.out.f1 || ret=1 32 $PERL ../digcomp.pl dig.out.hidden dig.out.f1 || ret=1 33 if [ $ret != 0 ]; then echo "I:failed"; fi 34 status=`expr $status + $ret` 37 ret=0 38 $DIG txt.example2. txt @$root -p 5300 > dig.out.root || ret=1 39 $DIG txt.example2. txt @$f1 -p 5300 > dig.out.f1 || ret=1 40 $PERL ../digcomp.pl dig.out.root dig.out.f1 || ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/tsig/ |
| H A D | tests.sh | 35 ret=0 37 -y "md5:$md5" @10.53.0.1 soa -p 5300 > dig.out.md5.old || ret=1 38 grep -i "md5.*TSIG.*NOERROR" dig.out.md5.old > /dev/null || ret=1 39 if [ $ret -eq 1 ] ; then 44 ret=0 46 -y "hmac-md5:md5:$md5" @10.53.0.1 soa -p 5300 > dig.out.md5.new || ret=1 47 grep -i "md5.*TSIG.*NOERROR" dig.out.md5.new > /dev/null || ret=1 48 if [ $ret -eq 1 ] ; then 53 ret=0 55 -y "hmac-sha1:sha1:$sha1" @10.53.0.1 soa -p 5300 > dig.out.sha1 || ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/spf/ |
| H A D | tests.sh | 24 ret=0 26 grep "zone spf/IN: loaded serial 0" ns1/named.run > /dev/null || ret=1 27 grep "'x.spf' found SPF/TXT" ns1/named.run > /dev/null || ret=1 28 grep "'y.spf' found SPF/SPF" ns1/named.run > /dev/null || ret=1 29 grep "'spf' found SPF/" ns1/named.run > /dev/null && ret=1 31 grep "zone warn/IN: loaded serial 0" ns1/named.run > /dev/null || ret=1 32 grep "'x.warn' found SPF/TXT" ns1/named.run > /dev/null || ret=1 33 grep "'y.warn' found SPF/SPF" ns1/named.run > /dev/null || ret=1 34 grep "'warn' found SPF/" ns1/named.run > /dev/null && ret=1 36 grep "zone nowarn/IN: loaded serial 0" ns1/named.run > /dev/null || ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/pending/ |
| H A D | tests.sh | 58 ret=0 60 ans=`$DIG $DIGOPTS_CD @10.53.0.4 hostile MX` || ret=1 61 test "$ans" = "$expect" || ret=1 62 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 63 status=`expr $status + $ret` 66 ret=0 68 ans=`$DIG $DIGOPTS_CD @10.53.0.4 mail.example A` || ret=1 69 test "$ans" = "$expect" || ret=1 70 test $ret = 0 || echo I:failed, got "'""$ans""'", expected "'""$expect""'" 71 status=`expr $status + $ret` [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/checknames/ |
| H A D | tests.sh | 29 ret=0 30 $DIG $DIGOPTS fail.example. @10.53.0.1 a > dig.out.ns1.test$n || ret=1 31 grep SERVFAIL dig.out.ns1.test$n > /dev/null || ret=1 32 grep 'xx_xx.fail.example: bad owner name (check-names)' ns1/named.run > /dev/null || ret=1 33 if [ $ret != 0 ]; then echo "I:failed"; fi 34 status=`expr $status + $ret` 39 ret=0 40 grep 'xx_xx.warn.example: bad owner name (check-names)' ns1/named.run > /dev/null || ret=1 41 if [ $ret != 0 ]; then echo "I:failed"; fi 42 status=`expr $status + $ret` [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/wildcard/ |
| H A D | tests.sh | 31 ret=0 32 $DIG $DIGOPTS a b.wild.nsec +norec @10.53.0.1 > dig.out.ns1.test$n || ret=1 33 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns1.test$n > /dev/null || ret=1 34 if [ $ret != 0 ]; then echo "I:failed"; fi 35 status=`expr $status + $ret` 39 ret=0 40 $DIG $DIGOPTS a b.wild.nsec @10.53.0.2 > dig.out.ns2.test$n || ret=1 41 grep -i 'a\.wild\.nsec\..*NSEC.*nsec\..*NSEC' dig.out.ns2.test$n > /dev/null || ret=1 42 grep -i 'flags:.* ad[ ;]' dig.out.ns2.test$n > /dev/null && ret=1 43 if [ $ret ! [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/builtin/ |
| H A D | tests.sh | 23 ret=0 24 grep "automatic empty zone" ns1/named.run > /dev/null || ret=1 25 grep "received control channel command 'reconfig'" ns1/named.run > /dev/null || ret=1 26 grep "reloading configuration succeeded" ns1/named.run > /dev/null || ret=1 28 grep "zone serial (0) unchanged." ns1/named.run > /dev/null && ret=1 29 if [ $ret != 0 ] ; then echo I:failed; status=`expr $status + $ret`; fi 34 ret=0 35 grep "automatic empty zone" ns1/named.run > /dev/null || ret=1 36 grep "received control channel command 'reload'" ns1/named.run > /dev/null || ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/lwresd/ |
| H A D | tests.sh | 27 ret=0 32 grep "status: NOERROR" dig.out > /dev/null || ret=1 33 grep "ANSWER: 1," dig.out > /dev/null || ret=1 35 test $ret = 0 && break 38 if [ $ret != 0 ]; then echo "I:failed"; fi 39 status=`expr $status + $ret` 42 ret=0 48 ./lwtest || ret=1 49 if [ $ret != 0 ]; then 52 status=`expr $status + $ret` [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/dlv/ |
| H A D | tests.sh | 30 ret=0 31 $DIG $DIGOPTS 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` 38 ret=0 39 $DIG $DIGOPTS grand.child1.utld dnskey @10.53.0.5 > dig.out.ns5.test$n || ret=1 40 grep "flags:.*ad.*QUERY" dig.out.ns5.test$n > /dev/null || ret=1 42 if [ $ret != 0 ]; then echo "I:failed"; fi 43 status=`expr $status + $ret` [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/checkzone/ |
| H A D | tests.sh | 26 ret=0 27 $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 37 $CHECKZONE -i local example $db > test.out.$n 2>&1 && ret=1 39 if [ $ret != 0 ]; then echo "I:failed"; fi 40 status=`expr $status + $ret` 44 ret=0 45 $CHECKZONE example zones/spf.db > test.out1.$n 2>&1 || ret [all...] |
| /bind-9.6-ESV-R11/lib/isc/pthreads/ |
| H A D | thread.c | 37 int ret; local 43 ret = pthread_attr_getstacksize(&attr, &stacksize); 44 if (ret != 0) 48 ret = pthread_attr_setstacksize(&attr, THREAD_MINSTACKSIZE); 49 if (ret != 0) 55 ret = pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); 56 if (ret != 0) 60 ret = pthread_create(thread, &attr, func, arg); 61 if (ret != 0)
|
| /bind-9.6-ESV-R11/bin/tests/system/additional/ |
| H A D | tests.sh | 28 ret=0 29 $DIG -t RT rt.rt.example @10.53.0.1 -p 5300 > dig.out.$n || ret=1 30 if [ $ret -eq 1 ] ; then 36 ret=0 37 $DIG -t RT rt.rt2.example @10.53.0.1 -p 5300 > dig.out.$n || ret=1 38 if [ $ret -eq 1 ] ; then 44 ret=0 45 $DIG -t NAPTR nap.naptr.example @10.53.0.1 -p 5300 > dig.out.$n || ret=1 46 if [ $ret -eq 1 ] ; then 52 ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/database/ |
| H A D | tests.sh | 33 ret=0 34 $DIG $DIGOPTS soa database. @10.53.0.1 > dig.out.ns1.test$n || ret=1 35 grep "hostmaster\.isc\.org" dig.out.ns1.test$n > /dev/null || ret=1 37 if [ $ret != 0 ]; then echo "I:failed"; fi 38 status=`expr $status + $ret` 44 ret=1 49 ret=0 50 $DIG $DIGOPTS soa database. @10.53.0.1 > dig.out.ns1.test$n || ret=1 51 grep "marka\.isc\.org" dig.out.ns1.test$n > /dev/null || ret=1 53 test $ret [all...] |
| /bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock11/ |
| H A D | dllfunc.c | 57 int ret; local 60 ret = _org_gethostname(name, namelen); 61 TRACE("LEAVE gethostname %d <%-.100s>\n", ret, name); 63 return (ret); 68 struct hostent FAR *ret; local 81 ret = _org_gethostbyname(name); 84 ret = _org_gethostbyname(name); 89 ret = NULL; 93 ret = _org_gethostbyname(nbuff); 97 if (ret ! 122 struct hostent FAR *ret; local 163 HANDLE ret; local 193 HANDLE ret; local [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/dlz/ |
| H A D | tests.sh | 32 ret=0 34 @10.53.0.1 a > dig.out.ns1.test$n || ret=1 35 grep "status: NOERROR" dig.out.ns1.test$n > /dev/null || ret=1 36 grep "example.com..*DNAME.*example.net." dig.out.ns1.test$n > /dev/null || ret=1 37 grep "foo.example.com..*CNAME.*foo.example.net." dig.out.ns1.test$n > /dev/null || ret=1 38 grep "flags:[^;]* aa[ ;]" dig.out.ns1.test$n > /dev/null || ret=1 40 if [ $ret != 0 ]; then echo "I:failed"; fi 41 status=`expr $status + $ret` 44 ret=0 46 grep "example.com..*IN.IXFR" dig.out.ns1.test$n > /dev/null || ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/resolver/ |
| H A D | tests.sh | 27 ret=0 28 $DIG +tcp nxdomain.example.net @10.53.0.1 a -p 5300 > dig.out || ret=1 29 grep "status: NXDOMAIN" dig.out > /dev/null || ret=1 30 if [ $ret != 0 ]; then echo "I:failed"; fi 31 status=`expr $status + $ret` 34 ret=0 35 $DIG +tcp nodata.example.net @10.53.0.1 a -p 5300 > dig.out || ret=1 36 grep "status: NOERROR" dig.out > /dev/null || ret=1 38 if [ $ret != 0 ]; then echo "I:failed"; fi 39 status=`expr $status + $ret` [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/rrsetorder/ |
| H A D | tests.sh | 36 ret=0 40 -p 5300 @10.53.0.1 fixed.example > dig.out.fixed || ret=1 41 cmp -s dig.out.fixed dig.out.fixed.good || ret=1 43 if [ $ret != 0 ]; then echo "I:failed"; fi 44 status=`expr $status + $ret` 51 ret=0 57 -p 5300 @10.53.0.1 cyclic.example > dig.out.cyclic || ret=1 64 cmp -s dig.out.0 dig.out.1 && ret=1 65 cmp -s dig.out.0 dig.out.2 && ret=1 66 cmp -s dig.out.0 dig.out.3 && ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/allow_query/ |
| H A D | tests.sh | 70 ret=0 71 $DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 a.normal.example a > dig.out.ns2.$n || ret=1 72 grep 'status: NOERROR' dig.out.ns2.$n > /dev/null || ret=1 73 grep '^a.normal.example' dig.out.ns2.$n > /dev/null || ret=1 74 if [ $ret != 0 ]; then echo "I:failed"; fi 75 status=`expr $status + $ret` 84 ret=0 85 $DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 a.normal.example a > dig.out.ns2.$n || ret=1 86 grep 'status: NOERROR' dig.out.ns2.$n > /dev/null || ret=1 87 grep '^a.normal.example' dig.out.ns2.$n > /dev/null || ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/dnssec/ |
| H A D | tests.sh | 35 ret=0 36 $DIG $DIGOPTS a.example. @10.53.0.2 a > dig.out.ns2.test$n || ret=1 37 $DIG $DIGOPTS a.example. @10.53.0.3 a > dig.out.ns3.test$n || ret=1 38 $PERL ../digcomp.pl dig.out.ns2.test$n dig.out.ns3.test$n > /dev/null || ret=1 39 [ $ret = 0 ] && break 42 $PERL ../digcomp.pl dig.out.ns2.test$n dig.out.ns3.test$n > /dev/null || ret=1 44 if [ $ret != 0 ]; then echo "I:failed"; fi 45 status=`expr $status + $ret` 48 ret=0 49 $DIG $DIGOPTS +noauth a.example. @10.53.0.2 a > dig.out.ns2.test$n || ret [all...] |
| /bind-9.6-ESV-R11/bin/tests/system/dialup/ |
| H A D | tests.sh | 31 $DIG $DIGOPTS example. @10.53.0.1 soa > dig.out.ns1.test || ret=1 33 ret=0 37 $DIG $DIGOPTS example. @10.53.0.2 soa > dig.out.ns2.test || ret=1 43 $PERL ../digcomp.pl dig.out.ns1.test dig.out.ns2.test || ret=1 48 if [ $ret != 0 ]; then echo "I:failed"; fi 49 status=`expr $status + $ret` 52 ret=0 56 $DIG $DIGOPTS example. @10.53.0.3 soa > dig.out.ns3.test || ret=1 62 $PERL ../digcomp.pl dig.out.ns1.test dig.out.ns3.test || ret=1 67 if [ $ret ! [all...] |