bind9/bin/tests/system/rollover_dynamic2inline/tests_rollover_dynamic2inline.py
Nicki Křížek 67aca1f8c6 Rename all system test to use underscore
All system tests previously using a hyphen have been renamed to use
underscore instead. A couple of symlinks were corrected and one path in
`nsec3-answer` adjusted accordingly.
2026-03-18 14:32:33 +01:00

41 lines
1.2 KiB
Python

# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# SPDX-License-Identifier: MPL-2.0
#
# 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 https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
from rollover.common import CDSS, DEFAULT_CONFIG, ROLLOVER_MARK
import isctest
pytestmark = ROLLOVER_MARK
def test_dynamic2inline(ns3, default_algorithm, templates):
config = DEFAULT_CONFIG
policy = "default"
zone = "dynamic2inline.kasp"
isctest.kasp.wait_keymgr_done(ns3, zone)
step = {
"zone": zone,
"cdss": CDSS,
"keyprops": [
f"csk unlimited {default_algorithm.number} {default_algorithm.bits} goal:omnipresent dnskey:rumoured krrsig:rumoured zrrsig:rumoured ds:hidden",
],
"nextev": None,
}
isctest.kasp.check_rollover_step(ns3, config, policy, step)
templates.render("ns3/named.conf", {"change_lifetime": True})
ns3.reconfigure()
isctest.kasp.wait_keymgr_done(ns3, zone, reconfig=True)
isctest.kasp.check_rollover_step(ns3, config, policy, step)