Commit bb1e4770fc for bind
commit bb1e4770fca59e29c1767399dc642203b77386d5
Author: Petr Špaček <pspacek@isc.org>
Date: Thu Oct 8 09:38:02 2026 +0000
Fix DS TTL override regex in chase_ds test
Incorrect regex caused DS TTL to be so high the test was effectively
dead.
Assisted-by: Claude:claude-opus-5-5
diff --git a/bin/tests/system/chase_ds/ns1/sign.sh b/bin/tests/system/chase_ds/ns1/sign.sh
index 0b1a38f301..e4dd874b0a 100644
--- a/bin/tests/system/chase_ds/ns1/sign.sh
+++ b/bin/tests/system/chase_ds/ns1/sign.sh
@@ -34,7 +34,7 @@ $SIGNER -P -g -o $zone $zonefile >/dev/null
# this seems to be ignored when signing the zone.)
sed -E '/^example\./{
n
- s/.*300[[:space:]]\+DS/ 2 DS/
+ s/.*300[[:space:]]+DS/ 2 DS/
}' "$zonefile.signed" >"$zonefile.signed.tmp"
mv "$zonefile.signed.tmp" "$zonefile.signed"
diff --git a/bin/tests/system/chase_ds/tests_chase_ds.py b/bin/tests/system/chase_ds/tests_chase_ds.py
index 1379aff804..09f42f74bd 100644
--- a/bin/tests/system/chase_ds/tests_chase_ds.py
+++ b/bin/tests/system/chase_ds/tests_chase_ds.py
@@ -22,9 +22,11 @@ def test_chase_ds(ns3):
# Wait for example./DS and example./DNSKEY to expire
time.sleep(5)
- msg = isctest.query.create("a.example.", "A")
- res = isctest.query.udp(msg, ns3.ip)
- isctest.check.noerror(res)
+ with ns3.watch_log_from_here() as watcher:
+ msg = isctest.query.create("a.example.", "A")
+ res = isctest.query.udp(msg, ns3.ip)
+ isctest.check.noerror(res)
+ watcher.wait_for_line("creating fetch for example DS")
# The validator `get_dsset()` function found example. parent NS
# (which is./NS) using `dns_view_bestzonecut()`, so there is no