Commit 4a019db28d for bind
commit 4a019db28dc77bd090f170132d8aa3194c079e92
Author: Nicki Křížek <nicki@isc.org>
Date: Mon Sep 21 12:49:33 2026 +0000
Drop the pytest marks for Perl modules no test needs any more
Net::DNS::Nameserver and Time::HiRes were required by the Perl mock
servers (ans.pl), all of which have since been rewritten with
isctest.asyncserver, so nothing references the marks. The README note
about the remaining Perl mock servers goes with them.
Assisted-by: Claude:claude-fable-5-1
diff --git a/bin/tests/system/README.md b/bin/tests/system/README.md
index cec83aeeed..198889f4f3 100644
--- a/bin/tests/system/README.md
+++ b/bin/tests/system/README.md
@@ -214,9 +214,7 @@ system test directories may contain the following standard files:
- `ans<N>`: Like ns<N>, but these are mock name servers implemented in python
(`ans.py`), usually with the `isctest.asyncserver` module. They are
generally programmed to misbehave in ways named would not, so as to exercise
- named's ability to interoperate with badly behaved name servers. A few
- legacy mock servers are still implemented in perl (`ans.pl`); don't write
- new ones.
+ named's ability to interoperate with badly behaved name servers.
The following files appear in test directories that have not yet been fully
ported to python; do not add them to new tests:
diff --git a/bin/tests/system/isctest/mark.py b/bin/tests/system/isctest/mark.py
index 7daaffd17c..1f3da608aa 100644
--- a/bin/tests/system/isctest/mark.py
+++ b/bin/tests/system/isctest/mark.py
@@ -57,16 +57,6 @@ requires_net_dns = pytest.mark.skipif(
reason="Perl Net::DNS module is required",
)
-requires_net_dns_nameserver = pytest.mark.skipif(
- not _perl_module_available("Net::DNS::Nameserver"),
- reason="Perl Net::DNS::Nameserver module is required",
-)
-
-requires_time_hires = pytest.mark.skipif(
- not _perl_module_available("Time::HiRes"),
- reason="Perl Time::HiRes module is required",
-)
-
def is_host_freebsd(*_):
return platform.system() == "FreeBSD"