From: Kees Monshouwer Date: Thu, 18 May 2017 19:52:06 +0000 (+0200) Subject: add root zone to rectify-axfr test X-Git-Tag: rec-4.1.0-alpha1~77^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5363%2Fhead;p=thirdparty%2Fpdns.git add root zone to rectify-axfr test --- diff --git a/regression-tests.nobackend/rectify-axfr/command b/regression-tests.nobackend/rectify-axfr/command index 8e0fc874b0..e3360c2ba7 100755 --- a/regression-tests.nobackend/rectify-axfr/command +++ b/regression-tests.nobackend/rectify-axfr/command @@ -7,6 +7,13 @@ rm -f pdns*.pid pdns-gsqlite3.conf pdns.sqlite3 named.conf sed '/directory/ { s@./zones@../regression-tests/zones@ }' ../regression-tests/named.conf > ./named.conf +cat >> ./named.conf << __EOF__ +zone "."{ + type master; + file "../../regression-tests.rootzone/zones/ROOT"; +}; +__EOF__ + cat > pdns-gsqlite3.conf << __EOF__ launch=gsqlite3 gsqlite3-database=pdns.sqlite3 @@ -38,9 +45,6 @@ check_process set +e -# Add skipreason to not have full zone output -# There is a bug in ldns-verify-zone on travis that will make -# it fail on dnssec-parent.com skipreasons='nsec3' . ../regression-tests/tests/verify-dnssec-zone/command diff --git a/regression-tests.nobackend/rectify-axfr/expected_result b/regression-tests.nobackend/rectify-axfr/expected_result index 082b76a6d2..9d72712d2d 100644 --- a/regression-tests.nobackend/rectify-axfr/expected_result +++ b/regression-tests.nobackend/rectify-axfr/expected_result @@ -136,3 +136,15 @@ zone 2.0.192.in-addr.arpa/IN: loaded serial 2000081501 (DNSSEC signed) OK RETVAL: 0 +--- ldns-verify-zone -V2 . +RETVAL: 0 + +--- jdnssec-verifyzone . +zone verified. +RETVAL: 0 + +--- named-checkzone . +zone ./IN: loaded serial 2016021600 (DNSSEC signed) +OK +RETVAL: 0 +