update copyright notice
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dnstest.c,v 1.5 2011/09/02 21:15:37 each Exp $ */
|
||||
/* $Id: dnstest.c,v 1.6 2011/09/02 23:46:32 tbox Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -187,7 +187,7 @@ dns_test_end() {
|
||||
/*
|
||||
* Create a zone with origin 'name', return a pointer to the zone object in
|
||||
* 'zonep'. If 'view' is set, add the zone to that view; otherwise, create
|
||||
* a new view for the purpose.
|
||||
* a new view for the purpose.
|
||||
*
|
||||
* If the created view is going to be needed by the caller subsequently,
|
||||
* then 'keepview' should be set to true; this will prevent the view
|
||||
@@ -241,7 +241,7 @@ isc_result_t
|
||||
dns_test_setupzonemgr() {
|
||||
isc_result_t result;
|
||||
REQUIRE(zonemgr == NULL);
|
||||
|
||||
|
||||
result = dns_zonemgr_create(mctx, taskmgr, timermgr, socketmgr,
|
||||
&zonemgr);
|
||||
return (result);
|
||||
@@ -269,7 +269,7 @@ dns_test_releasezone(dns_zone_t *zone) {
|
||||
void
|
||||
dns_test_closezonemgr() {
|
||||
REQUIRE(zonemgr != NULL);
|
||||
|
||||
|
||||
dns_zonemgr_shutdown(zonemgr);
|
||||
dns_zonemgr_detach(&zonemgr);
|
||||
}
|
||||
|
||||
16
lib/dns/tests/testdata/zt/zone1.db
vendored
16
lib/dns/tests/testdata/zt/zone1.db
vendored
@@ -1,3 +1,19 @@
|
||||
; Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
|
||||
;
|
||||
; Permission to use, copy, modify, and/or distribute this software for any
|
||||
; purpose with or without fee is hereby granted, provided that the above
|
||||
; copyright notice and this permission notice appear in all copies.
|
||||
;
|
||||
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
; PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
; $Id: zone1.db,v 1.3 2011/09/02 23:46:32 tbox Exp $
|
||||
|
||||
$TTL 1000
|
||||
@ in soa localhost. postmaster.localhost. (
|
||||
1993050801 ;serial
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zt_test.c,v 1.2 2011/09/02 21:15:37 each Exp $ */
|
||||
/* $Id: zt_test.c,v 1.3 2011/09/02 23:46:32 tbox Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -91,7 +91,7 @@ ATF_TC_BODY(apply, tc) {
|
||||
|
||||
result = dns_test_makezone("foo", &zone, NULL, ISC_TRUE);
|
||||
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
|
||||
|
||||
|
||||
view = dns_zone_getview(zone);
|
||||
ATF_REQUIRE(view->zonetable != NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user