]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add root zone to rectify-axfr test 5363/head
authorKees Monshouwer <mind04@monshouwer.org>
Thu, 18 May 2017 19:52:06 +0000 (21:52 +0200)
committermind04 <mind04@monshouwer.org>
Thu, 18 May 2017 19:52:06 +0000 (21:52 +0200)
regression-tests.nobackend/rectify-axfr/command
regression-tests.nobackend/rectify-axfr/expected_result

index 8e0fc874b07bbd06da73c29b1fe8a9978cd15f29..e3360c2ba70d7927459db03751c5d3893006e7b1 100755 (executable)
@@ -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
index 082b76a6d268d31d772d08df862668c9a4dcadb2..9d72712d2d84614f62eff62ffd9690644d771944 100644 (file)
@@ -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
+