mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:09:59 -04:00
Fix the max-ncache-ttl tests
This commit is contained in:
parent
f6ca532df4
commit
cf9c2ef305
5 changed files with 46 additions and 1 deletions
14
bin/tests/system/checkconf/bad-maxncachettl-2.conf
Normal file
14
bin/tests/system/checkconf/bad-maxncachettl-2.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* See the COPYRIGHT file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
view two {
|
||||
max-ncache-ttl 604801;
|
||||
};
|
||||
17
bin/tests/system/checkconf/bad-maxncachettl-3.conf
Normal file
17
bin/tests/system/checkconf/bad-maxncachettl-3.conf
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* See the COPYRIGHT file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
view three {
|
||||
max-ncache-ttl 4000000000;
|
||||
};
|
||||
view four {
|
||||
max-ncache-ttl -1;
|
||||
};
|
||||
14
bin/tests/system/checkconf/bad-maxncachettl-4.conf
Normal file
14
bin/tests/system/checkconf/bad-maxncachettl-4.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* See the COPYRIGHT file distributed with this work for additional
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
view four {
|
||||
max-ncache-ttl -1;
|
||||
};
|
||||
|
|
@ -16,7 +16,7 @@ view two {
|
|||
max-ncache-ttl 86400;
|
||||
};
|
||||
view three {
|
||||
max-ncache-ttl 4000000000;
|
||||
max-ncache-ttl 604800;
|
||||
};
|
||||
view four {
|
||||
max-ncache-ttl 3600s;
|
||||
|
|
|
|||
Loading…
Reference in a new issue