Lines Matching refs:result
63 isc_result_t result;
68 result = dns_rdataset_totext(dataset, owner, ISC_FALSE, ISC_FALSE,
70 return(result);
84 isc_result_t result;
98 result = dns_name_fromtext(&dns_origin, &source, dns_rootname,
100 if (result != ISC_R_SUCCESS)
101 return(result);
112 return (result);
120 isc_result_t result;
122 result = setup_master(warn, error);
123 if (result != ISC_R_SUCCESS)
124 return(result);
126 result = dns_master_loadfile2(testfile, &dns_origin, &dns_origin,
129 return (result);
149 isc_result_t result;
153 result = dns_test_begin(NULL, ISC_FALSE);
154 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
156 result = test_master("testdata/master/master1.data",
158 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
172 isc_result_t result;
176 result = dns_test_begin(NULL, ISC_FALSE);
177 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
179 result = test_master("testdata/master/master2.data",
181 ATF_REQUIRE_EQ(result, ISC_R_UNEXPECTEDEND);
195 isc_result_t result;
199 result = dns_test_begin(NULL, ISC_FALSE);
200 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
202 result = test_master("testdata/master/master3.data",
204 ATF_REQUIRE_EQ(result, DNS_R_NOOWNER);
219 isc_result_t result;
223 result = dns_test_begin(NULL, ISC_FALSE);
224 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
226 result = test_master("testdata/master/master4.data",
228 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
242 isc_result_t result;
246 result = dns_test_begin(NULL, ISC_FALSE);
247 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
249 result = test_master("testdata/master/master5.data",
251 ATF_REQUIRE_EQ(result, DNS_R_BADCLASS);
263 isc_result_t result;
267 result = dns_test_begin(NULL, ISC_FALSE);
268 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
270 result = test_master("testdata/master/master15.data",
272 ATF_REQUIRE_EQ(result, ISC_R_NOSPACE);
285 isc_result_t result;
289 result = dns_test_begin(NULL, ISC_FALSE);
290 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
292 result = test_master("testdata/master/master16.data",
294 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
306 isc_result_t result;
310 result = dns_test_begin(NULL, ISC_FALSE);
311 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
313 result = test_master("testdata/master/master6.data",
315 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
328 isc_result_t result;
332 result = dns_test_begin(NULL, ISC_FALSE);
333 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
335 result = test_master("testdata/master/master7.data",
337 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
349 isc_result_t result;
353 result = dns_test_begin(NULL, ISC_FALSE);
354 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
356 result = test_master("testdata/master/master8.data",
358 ATF_REQUIRE_EQ(result, DNS_R_SEENINCLUDE);
370 isc_result_t result;
375 result = dns_test_begin(NULL, ISC_FALSE);
376 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
378 result = setup_master(NULL, NULL);
379 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
381 result = dns_master_loadfile4("testdata/master/master8.data",
386 ATF_CHECK_EQ(result, DNS_R_SEENINCLUDE);
403 isc_result_t result;
407 result = dns_test_begin(NULL, ISC_FALSE);
408 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
410 result = test_master("testdata/master/master9.data",
412 ATF_REQUIRE_EQ(result, DNS_R_BADCLASS);
425 isc_result_t result;
429 result = dns_test_begin(NULL, ISC_FALSE);
430 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
432 result = test_master("testdata/master/master10.data",
434 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
446 isc_result_t result;
450 result = dns_test_begin(NULL, ISC_FALSE);
451 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
453 result = test_master("testdata/master/master11.data",
455 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
465 isc_result_t result;
473 result = dns_test_begin(NULL, ISC_FALSE);
474 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
483 result = dns_rdatalist_tordataset(&rdatalist, &rdataset);
484 ATF_CHECK_EQ(result, ISC_R_SUCCESS);
487 result = dns_master_rdatasettotext(dns_rootname,
490 ATF_CHECK_EQ(result, ISC_R_SUCCESS);
509 isc_result_t result;
513 result = dns_test_begin(NULL, ISC_FALSE);
514 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
517 result = test_master("testdata/master/master12.data",
519 ATF_CHECK_STREQ(isc_result_totext(result), "success");
524 result = test_master("testdata/master/master13.data",
526 ATF_CHECK_STREQ(isc_result_totext(result), "success");
531 result = test_master("testdata/master/master14.data",
533 ATF_CHECK_STREQ(isc_result_totext(result), "success");
548 isc_result_t result;
566 result = dns_name_fromtext(&dnsorigin, &source, dns_rootname,
568 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
570 result = dns_test_begin(NULL, ISC_FALSE);
571 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
573 result = dns_db_create(mctx, "rbt", &dnsorigin, dns_dbtype_zone,
575 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
577 result = dns_db_load(db, "testdata/master/master1.data");
578 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
582 result = dns_master_dump2(mctx, db, version,
585 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
587 result = test_master("test.dump", dns_masterformat_raw, NULL, NULL);
588 ATF_CHECK_STREQ(isc_result_totext(result), "success");
597 result = dns_master_dump3(mctx, db, version,
600 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
602 result = test_master("test.dump", dns_masterformat_raw, NULL, NULL);
603 ATF_CHECK_STREQ(isc_result_totext(result), "success");
639 isc_result_t result;
643 result = dns_test_begin(NULL, ISC_FALSE);
644 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
648 result = test_master("testdata/master/master17.data",
650 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);