]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add ns2/managed1.conf to mkeys extra_artifacts
authorMichal Nowak <mnowak@isc.org>
Wed, 4 Dec 2024 17:17:40 +0000 (18:17 +0100)
committerMichal Nowak <mnowak@isc.org>
Thu, 5 Dec 2024 10:07:33 +0000 (10:07 +0000)
The ns2/managed1.conf file is created by the setup.sh script. Then, in
the tests.sh script it is moved to ns2/managed.conf. The latter file
name is in mkeys extra_artifacts, but the former one is not. This is a
problem when pytest is started with the --setup-only option as it only
runs the setup.sh script (e.g., in the cross-version-config-tests CI
job) and thus failing the "Unexpected files found" assertion.

bin/tests/system/mkeys/tests_sh_mkeys.py

index 5a35021790998e7b7e65f2fa927ead8e5706b553..a98c98ffaf29437301bcee97012729f2c5584dd9 100644 (file)
@@ -39,6 +39,7 @@ pytestmark = [
             "ns1/root.db.tmp",
             "ns1/zone.key",
             "ns2/managed-keys.bind",
+            "ns2/managed1.conf",
             "ns3/broken.conf",
             "ns3/managed-keys.bind",
             "ns4/nope",