From: Miod Vallat Date: Wed, 16 Jul 2025 05:56:55 +0000 (+0200) Subject: Unbreak pdnsutil invocation after #14984 merge X-Git-Tag: rec-5.4.0-alpha0~31^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15847%2Fhead;p=thirdparty%2Fpdns.git Unbreak pdnsutil invocation after #14984 merge (pdnsutil {add-record,delete-rrset}: require NAME to be absolute) Signed-off-by: Miod Vallat --- 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