[Opendnssec-commits] sara r7093 - trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good

commits at svn.opendnssec.org commits at svn.opendnssec.org
Wed Apr 10 15:08:22 CEST 2013


Author: sara
Date: Wed Apr 10 15:08:22 2013
New Revision: 7093
URL: http://fisheye.opendnssec.org/changelog/opendnssec?cs=7093

Log:
OPENDNSSEC-396: Use TTLs from policy for DNSKEY and DS records. Port regression test code for this behaviour to trunk.

Modified:
   trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good/kasp.xml
   trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good/test.sh

Modified: trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good/kasp.xml
==============================================================================
--- trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good/kasp.xml	Wed Apr 10 14:50:25 2013	(r7092)
+++ trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good/kasp.xml	Wed Apr 10 15:08:22 2013	(r7093)
@@ -54,7 +54,7 @@
 		<Parent>
 			<PropagationDelay>PT20M</PropagationDelay>
 			<DS>
-				<TTL>PT10M</TTL>
+				<TTL>PT5M</TTL>
 			</DS>
 			<SOA>
 				<TTL>PT5H</TTL>

Modified: trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good/test.sh
==============================================================================
--- trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good/test.sh	Wed Apr 10 14:50:25 2013	(r7092)
+++ trunk/OpenDNSSEC/testing/test-cases.d/enforcer.conf.dssubmit_good/test.sh	Wed Apr 10 15:08:22 2013	(r7093)
@@ -57,6 +57,13 @@
 grep "ods. 600 IN DNSKEY 257 3 7 AwEAA.*" "$INSTALL_ROOT/var/opendnssec/tmp/dssub.out" &&
 ! grep "; {cka_id = .*}" "$INSTALL_ROOT/var/opendnssec/tmp/dssub.out" &&
 
+# Also export the key to double check the TTL 
+log_this ods-ksmutil-key-export 'ods-ksmutil key export' &&
+log_grep ods-ksmutil-key-export stdout 'ods.	600	IN	DNSKEY	257 3 7 AwEAA' &&
+
+log_this ods-ksmutil-key-export-ds 'ods-ksmutil key export --ds' &&
+log_grep ods-ksmutil-key-export-ds stdout 'ods.	300	IN	DS	' &&
+
 # Clean up
 echo "Cleaning up files" &&
 rm "$INSTALL_ROOT/var/opendnssec/tmp/dssub.pl" &&



More information about the Opendnssec-commits mailing list