Commit 0f518ce1 authored by Bob Halley's avatar Bob Halley
Browse files

test fixes

parent f3d059d1
......@@ -5,4 +5,5 @@
# dbfile dbtype dborigin dbclass dbcache findname findtype findopts findtime expected_results
#
dns_db_find_2.data rbt vix.com. in zone a.fx.vix.com. A DNS_DBFIND_GLUEOK 0 DNS_R_GLUE
dns_db_find_2.data rbt vix.com. in zone a.fx.vix.com. NS DNS_DBFIND_GLUEOK 0 DNS_R_GLUE
dns_db_find_2.data rbt vix.com. in zone fx.vix.com. NS DNS_DBFIND_GLUEOK 0 DNS_R_GLUE
dns_db_find_2.data rbt vix.com. in zone a.fx.vix.com. NS DNS_DBFIND_GLUEOK 0 DNS_R_DELEGATION
......@@ -5,4 +5,4 @@
# dbfile dbtype dborigin dbclass dbcache findname findtype findopts findtime expected_results
#
dns_db_find_6.data rbt vix.com. in zone exploder.vix.com. A 0 0 DNS_R_CNAME
dns_db_find_6.data rbt vix.com. in zone exploder.vix.com. ANY 0 0 DNS_R_CNAME
dns_db_find_6.data rbt vix.com. in zone exploder.vix.com. ANY 0 0 DNS_R_SUCCESS
......@@ -214,7 +214,7 @@ t_dns_db_load(char **av) {
&rdataset, NULL);
if (dns_result != exp_find_result) {
t_info("dns_db_findnode returned %s, expected %s\n",
t_info("dns_db_find returned %s, expected %s\n",
dns_result_totext(dns_result),
dns_result_totext(exp_find_result));
result = T_FAIL;
......@@ -1021,6 +1021,7 @@ t_dns_db_newversion(char **av) {
dns_rdataset_init(&added_rdataset);
rdatalist.type = rdatatype;
rdatalist.covers = 0;
rdatalist.rdclass = rdataclass;
rdatalist.ttl = 0;
ISC_LIST_INIT(rdatalist.rdata);
......@@ -1366,6 +1367,7 @@ t_dns_db_closeversion_1(char **av) {
dns_rdataset_init(&added_rdataset);
rdatalist.type = new_rdatatype;
rdatalist.covers = 0;
rdatalist.rdclass = rdataclass;
rdatalist.ttl = 0;
ISC_LIST_INIT(rdatalist.rdata);
......@@ -1719,6 +1721,7 @@ t_dns_db_closeversion_2(char **av) {
dns_rdataset_init(&added_rdataset);
rdatalist.type = new_rdatatype;
rdatalist.covers = 0;
rdatalist.rdclass = rdataclass;
rdatalist.ttl = 0;
ISC_LIST_INIT(rdatalist.rdata);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment