]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
enable shell-based rndc system tests
authorColin Vidal <colin@isc.org>
Wed, 28 May 2025 13:15:56 +0000 (15:15 +0200)
committerColin Vidal <colin@isc.org>
Wed, 28 May 2025 14:58:56 +0000 (16:58 +0200)
Enable existing rndc system tests (the python test function calling the
shell file was missing). Also update the extra artifacts list to remove
one generated file which was left behind.

bin/tests/system/rndc/tests_sh_rndc.py

index c7ab0079834c1e25527e9478a6bef1042844def7..9a553353b8885fa385f5c314668251079b622b71 100644 (file)
@@ -18,7 +18,7 @@ pytestmark = pytest.mark.extra_artifacts(
         "rndc.out.*",
         "ns2/*.jnl",
         "ns2/named.stats",
-        "ns2/named_dump.db.*",
+        "ns2/named_dump.db*",
         "ns2/nil.db",
         "ns2/other.db",
         "ns2/secondkey.conf",
@@ -37,3 +37,7 @@ pytestmark = pytest.mark.extra_artifacts(
         "ns7/test.db.jnl",
     ]
 )
+
+
+def test_rndc(run_tests_sh):
+    run_tests_sh()