From bc194bd0daae0ebb5cfe1423ed9fd3d6bc3a3836 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 16 Jul 2025 07:56:55 +0200 Subject: [PATCH] Unbreak pdnsutil invocation after #14984 merge (pdnsutil {add-record,delete-rrset}: require NAME to be absolute) Signed-off-by: Miod Vallat --- regression-tests/tests/5dyndns-restore-zone/command | 2 +- .../tests/pdnsutil-increase-serial-inception-epoch/command | 4 ++-- regression-tests/tests/pdnsutil-increase-serial/command | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/regression-tests/tests/5dyndns-restore-zone/command b/regression-tests/tests/5dyndns-restore-zone/command index 54989fe523..1af74d3a82 100755 --- a/regression-tests/tests/5dyndns-restore-zone/command +++ b/regression-tests/tests/5dyndns-restore-zone/command @@ -11,6 +11,6 @@ for zone in test.dyndns sub.test.dyndns do zonewithvariant=${zone}${plusvariant} $PDNSUTIL --config-dir=. --config-name=$backend \ - replace-rrset ${zonewithvariant} @ SOA "ns1.test.dyndns ahu.example.dyndns 2012060701 28800 7200 604800 86400" \ + replace-rrset ${zonewithvariant} ${zone} SOA "ns1.test.dyndns ahu.example.dyndns 2012060701 28800 7200 604800 86400" \ > /dev/null done diff --git a/regression-tests/tests/pdnsutil-increase-serial-inception-epoch/command b/regression-tests/tests/pdnsutil-increase-serial-inception-epoch/command index ef2cee0154..999a35e4b5 100755 --- a/regression-tests/tests/pdnsutil-increase-serial-inception-epoch/command +++ b/regression-tests/tests/pdnsutil-increase-serial-inception-epoch/command @@ -14,7 +14,7 @@ NOW=$(date +%s) # lower SOA so that the test makes sense $PDNSUTIL --config-dir=. --config-name=$backend \ - replace-rrset ${zonewithvariant} @ SOA "ns1.${zone} ahu.example.dyndns 10 28800 7200 604800 86400" \ + replace-rrset ${zonewithvariant} ${zone} SOA "ns1.${zone} ahu.example.dyndns 10 28800 7200 604800 86400" \ > /dev/null $PDNSUTIL --config-dir=. --config-name=$backend list-zone ${zonewithvariant} | grep SOA @@ -39,5 +39,5 @@ $PDNSUTIL --config-dir=. --config-name=$backend set-meta ${zonewithvariant} SOA- # restore old SOA $PDNSUTIL --config-dir=. --config-name=$backend \ - replace-rrset ${zonewithvariant} @ SOA "ns1.${zone} ahu.example.dyndns 2012060701 28800 7200 604800 86400" \ + replace-rrset ${zonewithvariant} ${zone} SOA "ns1.${zone} ahu.example.dyndns 2012060701 28800 7200 604800 86400" \ > /dev/null diff --git a/regression-tests/tests/pdnsutil-increase-serial/command b/regression-tests/tests/pdnsutil-increase-serial/command index 560906a029..be996076fe 100755 --- a/regression-tests/tests/pdnsutil-increase-serial/command +++ b/regression-tests/tests/pdnsutil-increase-serial/command @@ -18,5 +18,5 @@ mysqldiff 1 "Check that ${zonewithvariant}. still has a valid ordername" # restore old SOA $PDNSUTIL --config-dir=. --config-name=$backend \ - replace-rrset ${zonewithvariant} @ SOA "ns1.${zone} ahu.example.dyndns 2012060701 28800 7200 604800 86400" \ + replace-rrset ${zonewithvariant} ${zone} SOA "ns1.${zone} ahu.example.dyndns 2012060701 28800 7200 604800 86400" \ > /dev/null -- 2.47.2