From: Chris Hofstaedtler Date: Mon, 24 Feb 2025 11:48:32 +0000 (+0100) Subject: rec: update debian/tests/smoke for yaml config X-Git-Tag: dnsdist-2.0.0-alpha1~34^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4146eccb9b36dc5771012a3545d623c9f2937158;p=thirdparty%2Fpdns.git rec: update debian/tests/smoke for yaml config --- diff --git a/builder-support/debian/recursor/debian-buster/tests/smoke b/builder-support/debian/recursor/debian-buster/tests/smoke index 23f78fefe0..7132accf87 100755 --- a/builder-support/debian/recursor/debian-buster/tests/smoke +++ b/builder-support/debian/recursor/debian-buster/tests/smoke @@ -8,9 +8,7 @@ restart_failed() { exit 1 } -cat <>/etc/powerdns/recursor.conf -auth-zones=example.org=/etc/powerdns/example.org.zone -EOF +sed -e '/recursor:/a \ auth_zones: [{zone: "example.org", file: "/etc/powerdns/example.org.zone"}]' -i /etc/powerdns/recursor.conf cat </etc/powerdns/example.org.zone example.org. 172800 IN SOA ns1.example.org. dns.example.org. 1 10800 3600 604800 3600