From 536a15c8fb7ce5e2fe70dd7785560a73577f329a Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 17 Apr 2025 08:10:39 +0200 Subject: [PATCH] Use pdnsutil -q to get clean output. --- regression-tests.nobackend/lmdb-id-generation/command | 4 ++-- .../lmdb-id-generation/expected_result | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) 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 -- 2.47.2