From: Matthijs Mekking Date: Thu, 9 Jul 2026 11:57:00 +0000 (+0200) Subject: Adjust NOTIFY(CDS) system test X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=74d9898488b8f8da5f1f4af724a296d60c2d7253;p=thirdparty%2Fbind9.git Adjust NOTIFY(CDS) system test Current system tests cover a mixed RRset in but the unsupported and supported records use the same target and port, so the test does not catch that the wrong port and target are being used for the supported type. Change the test such that the supported DSYNC record is followed by the unsupported ones, and use different port and target for supported and unsupported DSYNC records. --- diff --git a/bin/tests/system/multisigner/ns2/secondary.db.in.j2 b/bin/tests/system/multisigner/ns2/secondary.db.in.j2 index 3a39d4ae165..3f0175b5847 100644 --- a/bin/tests/system/multisigner/ns2/secondary.db.in.j2 +++ b/bin/tests/system/multisigner/ns2/secondary.db.in.j2 @@ -13,6 +13,7 @@ secondary. IN SOA mname1. . ( ns2 A 10.53.0.2 scanner A 10.53.0.2 +bad-scanner A 6.6.6.6 model2 NS ns3 NS ns4 @@ -20,6 +21,6 @@ model2 NS ns3 ns3.model2 A 10.53.0.3 ns4.model2 A 10.53.0.4 -model2._dsync DSYNC CSYNC NOTIFY @PORT@ scanner ; ignored, unknown rrtype -model2._dsync DSYNC DSYNC NOTIFY @PORT@ scanner ; ignored, bad rrtype model2._dsync DSYNC CDS NOTIFY @PORT@ scanner +model2._dsync DSYNC CSYNC NOTIFY @CONTROLPORT@ bad-scanner ; ignored, unknown rrtype +model2._dsync DSYNC DSYNC NOTIFY @CONTROLPORT@ bad-scanner ; ignored, bad rrtype