From ee73efb1a83899da329ea5b8fdb0bc379c8f8449 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 21 Jul 2025 17:36:00 +0200 Subject: [PATCH] Use pdnsutil backend-cmd list to get NSEC3 details in dyndns tests. Signed-off-by: Miod Vallat --- regression-tests/mysqldiff | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/regression-tests/mysqldiff b/regression-tests/mysqldiff index 55f0a92fb..066ec259f 100755 --- a/regression-tests/mysqldiff +++ b/regression-tests/mysqldiff @@ -41,6 +41,11 @@ gmysql) -e "SELECT r.name, r.type, r.prio, r.content, r.ttl, CONCAT('''', CONCAT(r.ordername, '''')), r.auth FROM domains d JOIN records r ON d.id=r.domain_id WHERE d.name='$zonewithvariant' AND(r.type != 'SOA' OR r.type IS NULL) ORDER BY r.name, r.type, r.content, r.ttl, r.prio" > ${testsdir}/${testname}/$step fi ;; +lmdb) + $PDNSUTIL --config-dir=. --config-name=$backend \ + backend-cmd $backend "list $zonewithvariant" | grep -vwF SOA | \ + $SORT > ${testsdir}/${testname}/$step + ;; *) # Not as selective as the queries above, not as precise with DNSSEC details, # but hopefully good enough for the sake of most tests. -- 2.47.3