From: Miod Vallat Date: Thu, 17 Apr 2025 06:10:39 +0000 (+0200) Subject: Use pdnsutil -q to get clean output. X-Git-Tag: dnsdist-2.0.0-alpha2~71^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15443%2Fhead;p=thirdparty%2Fpdns.git Use pdnsutil -q to get clean output. --- diff --git a/regression-tests.nobackend/lmdb-id-generation/command b/regression-tests.nobackend/lmdb-id-generation/command index a6775684d2..dfea89cd47 100755 --- a/regression-tests.nobackend/lmdb-id-generation/command +++ b/regression-tests.nobackend/lmdb-id-generation/command @@ -18,8 +18,8 @@ do lmdb-random-ids=${random} EOF - $PDNSUTIL --config-dir="${workdir}" --config-name=lmdb create-zone example.com - ids=$( for i in a b c ; do $PDNSUTIL --config-dir="${workdir}" --config-name=lmdb add-zone-key example.com ksk ; done | xargs ) + $PDNSUTIL -q --config-dir="${workdir}" --config-name=lmdb create-zone example.com + ids=$( for i in a b c ; do $PDNSUTIL -q --config-dir="${workdir}" --config-name=lmdb add-zone-key example.com ksk ; done | xargs ) if [ $random = no ] then if [ "$ids" = "1 2 3" ] diff --git a/regression-tests.nobackend/lmdb-id-generation/expected_result b/regression-tests.nobackend/lmdb-id-generation/expected_result index a8187cb4ab..127b73f596 100644 --- a/regression-tests.nobackend/lmdb-id-generation/expected_result +++ b/regression-tests.nobackend/lmdb-id-generation/expected_result @@ -1,8 +1,2 @@ -WARNING: local files have been created as a result of this operation. -Be sure to check the files owner, group and permission to make sure that -the authoritative server can correctly use them. sequential generator generated 1 2 3 correctly -WARNING: local files have been created as a result of this operation. -Be sure to check the files owner, group and permission to make sure that -the authoritative server can correctly use them. random generator generated something other than 1 2 3, good