]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fold in dynamic2inline
authorEvan Hunt <each@isc.org>
Fri, 7 Aug 2026 06:17:35 +0000 (23:17 -0700)
committerEvan Hunt <each@isc.org>
Wed, 12 Aug 2026 16:37:55 +0000 (16:37 +0000)
bin/tests/system/rollover/ns2/named.conf.j2
bin/tests/system/rollover/ns3/dynamic2inline.kasp.db [moved from bin/tests/system/rollover_dynamic2inline/ns3/dynamic2inline.kasp.db with 100% similarity]
bin/tests/system/rollover/ns3/named-dynamic2inline.conf.j2 [moved from bin/tests/system/rollover_dynamic2inline/ns3/named.conf.j2 with 100% similarity]
bin/tests/system/rollover/tests_rollover_dynamic2inline.py [moved from bin/tests/system/rollover_dynamic2inline/tests_rollover_dynamic2inline.py with 85% similarity]
bin/tests/system/rollover_dynamic2inline/ns3/named.common.conf.j2 [deleted symlink]

index b26d6150f24e55116ecc7cb66a4c356e1d0b6934..e71bf74520330ce15be5b8c6991d3c323836c390 100644 (file)
@@ -12,9 +12,11 @@ options {
 
 {% include "_common/root.hint.conf" %}
 
+{% if tlds is defined %}
 {% for zone in tlds %}
 zone "@zone@" {
        type primary;
        file "@zone@.db.signed";
 };
 {% endfor %}
+{% endif %}
similarity index 85%
rename from bin/tests/system/rollover_dynamic2inline/tests_rollover_dynamic2inline.py
rename to bin/tests/system/rollover/tests_rollover_dynamic2inline.py
index eff0fedc993a5183dcf83fcaf9df7b2850afe7ca..5784e0ed01042c6b35148c7d429e262ecb26af41 100644 (file)
@@ -16,6 +16,15 @@ import isctest
 pytestmark = ROLLOVER_MARK
 
 
+def bootstrap():
+    data = {
+        "testconf": "dynamic2inline",
+        "trust_anchors": [],
+    }
+
+    return data
+
+
 def test_dynamic2inline(ns3, default_algorithm, templates):
     config = DEFAULT_CONFIG
     policy = "default"
@@ -34,7 +43,7 @@ def test_dynamic2inline(ns3, default_algorithm, templates):
 
     isctest.kasp.check_rollover_step(ns3, config, policy, step)
 
-    templates.render("ns3/named.conf", {"change_lifetime": True})
+    templates.render("ns3/named-dynamic2inline.conf", {"change_lifetime": True})
     ns3.reconfigure()
     isctest.kasp.wait_keymgr_done(ns3, zone, reconfig=True)
 
diff --git a/bin/tests/system/rollover_dynamic2inline/ns3/named.common.conf.j2 b/bin/tests/system/rollover_dynamic2inline/ns3/named.common.conf.j2
deleted file mode 120000 (symlink)
index 5dc2617..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../rollover/ns3/named.common.conf.j2
\ No newline at end of file