From: Miod Vallat Date: Mon, 21 Jul 2025 15:36:00 +0000 (+0200) Subject: Use pdnsutil backend-cmd list to get NSEC3 details in dyndns tests. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee73efb1a83899da329ea5b8fdb0bc379c8f8449;p=thirdparty%2Fpdns.git Use pdnsutil backend-cmd list to get NSEC3 details in dyndns tests. Signed-off-by: Miod Vallat --- 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.