From: Evan Hunt Date: Fri, 7 Aug 2026 04:00:29 +0000 (-0700) Subject: fold rollover_csk_roll tests into rollover X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8077fbdf7f216278e8d1096bd2b4570abe33dfc;p=thirdparty%2Fbind9.git fold rollover_csk_roll tests into rollover merge the "rollover_csk_roll1" and "rollover_csk_roll2" system tests into "rollover". --- diff --git a/bin/tests/system/rollover_csk_roll1/ns3/named.conf.j2 b/bin/tests/system/rollover/ns3/named-csk-roll1.conf.j2 similarity index 96% rename from bin/tests/system/rollover_csk_roll1/ns3/named.conf.j2 rename to bin/tests/system/rollover/ns3/named-csk-roll1.conf.j2 index a0f7970404a..fedcb7c8e4d 100644 --- a/bin/tests/system/rollover_csk_roll1/ns3/named.conf.j2 +++ b/bin/tests/system/rollover/ns3/named-csk-roll1.conf.j2 @@ -1,6 +1,6 @@ {% set zones = ["autosign", "manual"] %} -include "kasp.conf"; +include "policy/csk-roll1.conf"; include "named.common.conf"; {% for tld in zones %} diff --git a/bin/tests/system/rollover_csk_roll2/ns3/named.conf.j2 b/bin/tests/system/rollover/ns3/named-csk-roll2.conf.j2 similarity index 96% rename from bin/tests/system/rollover_csk_roll2/ns3/named.conf.j2 rename to bin/tests/system/rollover/ns3/named-csk-roll2.conf.j2 index 78d302adb21..66e11b8ea82 100644 --- a/bin/tests/system/rollover_csk_roll2/ns3/named.conf.j2 +++ b/bin/tests/system/rollover/ns3/named-csk-roll2.conf.j2 @@ -1,6 +1,6 @@ {% set zones = ["autosign", "manual"] %} -include "kasp.conf"; +include "policy/csk-roll2.conf"; include "named.common.conf"; {% for tld in zones %} diff --git a/bin/tests/system/rollover_csk_roll1/ns3/kasp.conf b/bin/tests/system/rollover/ns3/policy/csk-roll1.conf similarity index 100% rename from bin/tests/system/rollover_csk_roll1/ns3/kasp.conf rename to bin/tests/system/rollover/ns3/policy/csk-roll1.conf diff --git a/bin/tests/system/rollover_csk_roll2/ns3/kasp.conf b/bin/tests/system/rollover/ns3/policy/csk-roll2.conf similarity index 100% rename from bin/tests/system/rollover_csk_roll2/ns3/kasp.conf rename to bin/tests/system/rollover/ns3/policy/csk-roll2.conf diff --git a/bin/tests/system/rollover/setup.py b/bin/tests/system/rollover/setup.py index ddf07b2df48..fb30fbd84ae 100644 --- a/bin/tests/system/rollover/setup.py +++ b/bin/tests/system/rollover/setup.py @@ -687,7 +687,7 @@ def configure_cskroll1(tld: str, policy: str) -> list[Zone]: zones = [] zone = f"csk-roll1.{tld}" cds = "cdnskey,cds:sha384" - keygen = EnvCmd("KEYGEN", f"-k {policy} -l kasp.conf") + keygen = EnvCmd("KEYGEN", f"-k {policy} -l policy/csk-roll1.conf") # Step 1: # Introduce the first key. This will immediately be active. @@ -1083,7 +1083,7 @@ def configure_cskroll2(tld: str, policy: str) -> list[Zone]: zones = [] zone = f"csk-roll2.{tld}" cds = "cdnskey,cds:sha-256,cds:sha-384" - keygen = EnvCmd("KEYGEN", f"-k {policy} -l kasp.conf") + keygen = EnvCmd("KEYGEN", f"-k {policy} -l policy/csk-roll2.conf") # Step 1: # Introduce the first key. This will immediately be active. @@ -1491,7 +1491,7 @@ def configure_enable_dnssec(tld: str, policy: str) -> list[Zone]: # initial signing of a zone. zones = [] zone = f"enable-dnssec.{tld}" - keygen = EnvCmd("KEYGEN", f"-k {policy} -l kasp.conf") + keygen = EnvCmd("KEYGEN", f"-k {policy} -l policy/enable-dnsssec.conf") # Step 1: # This is an unsigned zone and named should perform the initial steps of diff --git a/bin/tests/system/rollover_csk_roll1/tests_rollover_csk_roll1.py b/bin/tests/system/rollover/tests_rollover_csk_roll1.py similarity index 99% rename from bin/tests/system/rollover_csk_roll1/tests_rollover_csk_roll1.py rename to bin/tests/system/rollover/tests_rollover_csk_roll1.py index 49f015218cc..9cd3ffacb3b 100644 --- a/bin/tests/system/rollover_csk_roll1/tests_rollover_csk_roll1.py +++ b/bin/tests/system/rollover/tests_rollover_csk_roll1.py @@ -65,6 +65,7 @@ def bootstrap(): data = { "tlds": [], "trust_anchors": [], + "testconf": POLICY, } tlds = [] diff --git a/bin/tests/system/rollover_csk_roll2/tests_rollover_csk_roll2.py b/bin/tests/system/rollover/tests_rollover_csk_roll2.py similarity index 99% rename from bin/tests/system/rollover_csk_roll2/tests_rollover_csk_roll2.py rename to bin/tests/system/rollover/tests_rollover_csk_roll2.py index c71a129a0eb..28386e5b9f2 100644 --- a/bin/tests/system/rollover_csk_roll2/tests_rollover_csk_roll2.py +++ b/bin/tests/system/rollover/tests_rollover_csk_roll2.py @@ -68,6 +68,7 @@ def bootstrap(): data = { "tlds": [], "trust_anchors": [], + "testconf": POLICY, } tlds = [] diff --git a/bin/tests/system/rollover_csk_roll1/ns1 b/bin/tests/system/rollover_csk_roll1/ns1 deleted file mode 120000 index 76608beaedd..00000000000 --- a/bin/tests/system/rollover_csk_roll1/ns1 +++ /dev/null @@ -1 +0,0 @@ -../rollover/ns1 \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll1/ns2 b/bin/tests/system/rollover_csk_roll1/ns2 deleted file mode 120000 index 41a09bb648b..00000000000 --- a/bin/tests/system/rollover_csk_roll1/ns2 +++ /dev/null @@ -1 +0,0 @@ -../rollover/ns2 \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll1/ns3/named.common.conf.j2 b/bin/tests/system/rollover_csk_roll1/ns3/named.common.conf.j2 deleted file mode 120000 index 5dc26178cb1..00000000000 --- a/bin/tests/system/rollover_csk_roll1/ns3/named.common.conf.j2 +++ /dev/null @@ -1 +0,0 @@ -../../rollover/ns3/named.common.conf.j2 \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll1/ns3/template.db.j2.manual b/bin/tests/system/rollover_csk_roll1/ns3/template.db.j2.manual deleted file mode 120000 index 38619a01b24..00000000000 --- a/bin/tests/system/rollover_csk_roll1/ns3/template.db.j2.manual +++ /dev/null @@ -1 +0,0 @@ -../../rollover/ns3/template.db.j2.manual \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll1/ns3/trusted.conf.j2 b/bin/tests/system/rollover_csk_roll1/ns3/trusted.conf.j2 deleted file mode 120000 index cb0be77b220..00000000000 --- a/bin/tests/system/rollover_csk_roll1/ns3/trusted.conf.j2 +++ /dev/null @@ -1 +0,0 @@ -../../_common/trusted.conf.j2 \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll2/ns1 b/bin/tests/system/rollover_csk_roll2/ns1 deleted file mode 120000 index 76608beaedd..00000000000 --- a/bin/tests/system/rollover_csk_roll2/ns1 +++ /dev/null @@ -1 +0,0 @@ -../rollover/ns1 \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll2/ns2 b/bin/tests/system/rollover_csk_roll2/ns2 deleted file mode 120000 index 41a09bb648b..00000000000 --- a/bin/tests/system/rollover_csk_roll2/ns2 +++ /dev/null @@ -1 +0,0 @@ -../rollover/ns2 \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll2/ns3/named.common.conf.j2 b/bin/tests/system/rollover_csk_roll2/ns3/named.common.conf.j2 deleted file mode 120000 index 5dc26178cb1..00000000000 --- a/bin/tests/system/rollover_csk_roll2/ns3/named.common.conf.j2 +++ /dev/null @@ -1 +0,0 @@ -../../rollover/ns3/named.common.conf.j2 \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll2/ns3/template.db.j2.manual b/bin/tests/system/rollover_csk_roll2/ns3/template.db.j2.manual deleted file mode 120000 index 38619a01b24..00000000000 --- a/bin/tests/system/rollover_csk_roll2/ns3/template.db.j2.manual +++ /dev/null @@ -1 +0,0 @@ -../../rollover/ns3/template.db.j2.manual \ No newline at end of file diff --git a/bin/tests/system/rollover_csk_roll2/ns3/trusted.conf.j2 b/bin/tests/system/rollover_csk_roll2/ns3/trusted.conf.j2 deleted file mode 120000 index cb0be77b220..00000000000 --- a/bin/tests/system/rollover_csk_roll2/ns3/trusted.conf.j2 +++ /dev/null @@ -1 +0,0 @@ -../../_common/trusted.conf.j2 \ No newline at end of file