From: Miod Vallat Date: Mon, 1 Jun 2026 09:55:14 +0000 (+0200) Subject: Hide serial numbers in test oracles. X-Git-Tag: auth-5.1.0~1^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f27a0bc8d73c2f998f24bd5f8fd07fcd0768ca0;p=thirdparty%2Fpdns.git Hide serial numbers in test oracles. Signed-off-by: Miod Vallat --- diff --git a/regression-tests/tests/1dyndns-update-delete-ent/command b/regression-tests/tests/1dyndns-update-delete-ent/command index 3736121d98..efd2db9e47 100755 --- a/regression-tests/tests/1dyndns-update-delete-ent/command +++ b/regression-tests/tests/1dyndns-update-delete-ent/command @@ -11,8 +11,8 @@ send answer ! -cleandig deeply.nested.test.dyndns ANY -cleandig nested.test.dyndns ANY +cleandig deeply.nested.test.dyndns ANY hidesoadetails +cleandig nested.test.dyndns ANY hidesoadetails mysqldiff 1 "Check ENT record" # add the intermediate level @@ -24,8 +24,8 @@ send answer ! -cleandig deeply.nested.test.dyndns ANY -cleandig nested.test.dyndns ANY +cleandig deeply.nested.test.dyndns ANY hidesoadetails +cleandig nested.test.dyndns ANY hidesoadetails mysqldiff 2 "Check ENT record disappearance and proper NSEC3 chaining" # restore zone for the sake of following tests diff --git a/regression-tests/tests/1dyndns-update-delete-ent/expected_result b/regression-tests/tests/1dyndns-update-delete-ent/expected_result index c8098d5bbf..f7932b84a6 100644 --- a/regression-tests/tests/1dyndns-update-delete-ent/expected_result +++ b/regression-tests/tests/1dyndns-update-delete-ent/expected_result @@ -7,7 +7,7 @@ Answer: 0 deeply.nested.test.dyndns. 3600 IN A 1.2.3.4 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='deeply.nested.test.dyndns.', qtype=ANY -1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. 2026050754 28800 7200 604800 86400 +1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='nested.test.dyndns.', qtype=ANY Check ENT record diff --git a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.dnssec b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.dnssec index 601dcfc26a..167b446a70 100644 --- a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.dnssec +++ b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.dnssec @@ -7,7 +7,7 @@ Answer: 0 deeply.nested.test.dyndns. 3600 IN A 1.2.3.4 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='deeply.nested.test.dyndns.', qtype=ANY -1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. 2026050754 28800 7200 604800 86400 +1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='nested.test.dyndns.', qtype=ANY Check ENT record diff --git a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.lmdb b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.lmdb index cfee2ef617..fff11397f1 100644 --- a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.lmdb +++ b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.lmdb @@ -7,7 +7,7 @@ Answer: 0 deeply.nested.test.dyndns. 3600 IN A 1.2.3.4 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='deeply.nested.test.dyndns.', qtype=ANY -1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. 2026050754 28800 7200 604800 86400 +1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='nested.test.dyndns.', qtype=ANY Check ENT record diff --git a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.lmdb-nsec3 b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.lmdb-nsec3 index 0e949d1146..d5db8e6084 100644 --- a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.lmdb-nsec3 +++ b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.lmdb-nsec3 @@ -7,7 +7,7 @@ Answer: 0 deeply.nested.test.dyndns. 3600 IN A 1.2.3.4 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='deeply.nested.test.dyndns.', qtype=ANY -1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. 2026050754 28800 7200 604800 86400 +1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='nested.test.dyndns.', qtype=ANY Check ENT record diff --git a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.narrow b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.narrow index 14ccf84716..c39b5edac4 100644 --- a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.narrow +++ b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.narrow @@ -7,7 +7,7 @@ Answer: 0 deeply.nested.test.dyndns. 3600 IN A 1.2.3.4 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='deeply.nested.test.dyndns.', qtype=ANY -1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. 2026050754 28800 7200 604800 86400 +1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='nested.test.dyndns.', qtype=ANY Check ENT record diff --git a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.nsec3 b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.nsec3 index 5b3920fb70..2eeb0516cc 100644 --- a/regression-tests/tests/1dyndns-update-delete-ent/expected_result.nsec3 +++ b/regression-tests/tests/1dyndns-update-delete-ent/expected_result.nsec3 @@ -7,7 +7,7 @@ Answer: 0 deeply.nested.test.dyndns. 3600 IN A 1.2.3.4 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='deeply.nested.test.dyndns.', qtype=ANY -1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. 2026050754 28800 7200 604800 86400 +1 test.dyndns. 3600 IN SOA ns1.test.dyndns. ahu.example.dyndns. [serial] 28800 7200 604800 86400 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='nested.test.dyndns.', qtype=ANY Check ENT record