[Opendnssec-commits] sara r7099 - in trunk/OpenDNSSEC/testing/test-cases.d: general.basic.start_sign_stop signer.adapters.input_basic signer.adapters.output_basic signer.zones.validate_many_zones signer.zones.validate_many_zones/unsigned

commits at svn.opendnssec.org commits at svn.opendnssec.org
Thu Apr 18 10:41:10 CEST 2013


Author: sara
Date: Thu Apr 18 10:41:10 2013
New Revision: 7099
URL: http://fisheye.opendnssec.org/changelog/opendnssec?cs=7099

Log:
TEST: Updates now that validns 0.7 is available

Modified:
   trunk/OpenDNSSEC/testing/test-cases.d/general.basic.start_sign_stop/test.sh
   trunk/OpenDNSSEC/testing/test-cases.d/signer.adapters.input_basic/test.sh
   trunk/OpenDNSSEC/testing/test-cases.d/signer.adapters.output_basic/test.sh
   trunk/OpenDNSSEC/testing/test-cases.d/signer.zones.validate_many_zones/test.sh
   trunk/OpenDNSSEC/testing/test-cases.d/signer.zones.validate_many_zones/unsigned/all.rr.org

Modified: trunk/OpenDNSSEC/testing/test-cases.d/general.basic.start_sign_stop/test.sh
==============================================================================
--- trunk/OpenDNSSEC/testing/test-cases.d/general.basic.start_sign_stop/test.sh	Wed Apr 17 17:47:50 2013	(r7098)
+++ trunk/OpenDNSSEC/testing/test-cases.d/general.basic.start_sign_stop/test.sh	Thu Apr 18 10:41:10 2013	(r7099)
@@ -3,6 +3,15 @@
 #TEST: Start, sign a single zone with one repository, stop.
 #TEST: On redhat, also perform basic validation of the zone with validns
 
+# So we can use validns 0.7 it is installed from source so need to
+# specify this path
+
+case "$DISTRIBUTION" in
+        redhat )
+                append_path /usr/sbin
+                ;;
+esac
+
 if [ -n "$HAVE_MYSQL" ]; then
         ods_setup_conf conf.xml conf-mysql.xml
 fi &&

Modified: trunk/OpenDNSSEC/testing/test-cases.d/signer.adapters.input_basic/test.sh
==============================================================================
--- trunk/OpenDNSSEC/testing/test-cases.d/signer.adapters.input_basic/test.sh	Wed Apr 17 17:47:50 2013	(r7098)
+++ trunk/OpenDNSSEC/testing/test-cases.d/signer.adapters.input_basic/test.sh	Thu Apr 18 10:41:10 2013	(r7099)
@@ -3,6 +3,13 @@
 #TEST: Test basic Input DNS Adapter
 #TEST: Start OpenDNSSEC and see if zone gets transferred and signed.
 
+# So we can use validns 0.7 it is installed from source so need to
+# specify this path
+case "$DISTRIBUTION" in
+        redhat )
+                append_path /usr/sbin
+                ;;
+esac
 
 if [ -n "$HAVE_MYSQL" ]; then
 	ods_setup_conf conf.xml conf-mysql.xml

Modified: trunk/OpenDNSSEC/testing/test-cases.d/signer.adapters.output_basic/test.sh
==============================================================================
--- trunk/OpenDNSSEC/testing/test-cases.d/signer.adapters.output_basic/test.sh	Wed Apr 17 17:47:50 2013	(r7098)
+++ trunk/OpenDNSSEC/testing/test-cases.d/signer.adapters.output_basic/test.sh	Thu Apr 18 10:41:10 2013	(r7099)
@@ -4,6 +4,13 @@
 #TEST: Start OpenDNSSEC and see if zone gets transferred and signed
 #TEST: and see if NOTIFY messages are sent.
 
+# So we can use validns 0.7 it is installed from source so need to
+# specify this path
+case "$DISTRIBUTION" in
+        redhat )
+                append_path /usr/sbin
+                ;;
+esac
 
 if [ -n "$HAVE_MYSQL" ]; then
         ods_setup_conf conf.xml conf-mysql.xml

Modified: trunk/OpenDNSSEC/testing/test-cases.d/signer.zones.validate_many_zones/test.sh
==============================================================================
--- trunk/OpenDNSSEC/testing/test-cases.d/signer.zones.validate_many_zones/test.sh	Wed Apr 17 17:47:50 2013	(r7098)
+++ trunk/OpenDNSSEC/testing/test-cases.d/signer.zones.validate_many_zones/test.sh	Thu Apr 18 10:41:10 2013	(r7099)
@@ -5,6 +5,14 @@
 #TEST: Will eventually add validation into this to check the output
 #TEST: For now use it to check any signing bugs with explicit tests
 
+# So we can use validns 0.7 it is installed from source so need to
+# specify this path
+case "$DISTRIBUTION" in
+        redhat )
+                append_path /usr/sbin
+                ;;
+esac
+
 
 if [ -n "$HAVE_MYSQL" ]; then
 	ods_setup_conf conf.xml conf-mysql.xml
@@ -40,9 +48,8 @@
                 # can't use -p all as the zone has only 1 NS per name
                 log_this validate-zone-ods validns -s -p cname-other-data -p dname -p dnskey -p nsec3param-not-apex -p mx-alias -p ns-alias -p rp-txt-exists -p tlsa-host "$INSTALL_ROOT/var/opendnssec/signed/example.com" &&
                 log_grep validate-zone-ods stdout 'validation errors:   0'
-                # This fails because of 1. invalid/unsupported rdtypes and 2. broken NSEC3 chain
-                #log_this validate-zone-ods validns -s "$INSTALL_ROOT/var/opendnssec/signed/all.rr.org" &&
-                #log_grep validate-zone-ods stdout 'validation errors:   0'
+                log_this validate-zone-all.rr.org validns -s -p all "$INSTALL_ROOT/var/opendnssec/signed/all.rr.org" &&
+                log_grep validate-zone-all.rr.org stdout 'validation errors:   0'
                 # The other two zone types don't seem to be supported by validns
                 ;;
 esac &&

Modified: trunk/OpenDNSSEC/testing/test-cases.d/signer.zones.validate_many_zones/unsigned/all.rr.org
==============================================================================
--- trunk/OpenDNSSEC/testing/test-cases.d/signer.zones.validate_many_zones/unsigned/all.rr.org	Wed Apr 17 17:47:50 2013	(r7098)
+++ trunk/OpenDNSSEC/testing/test-cases.d/signer.zones.validate_many_zones/unsigned/all.rr.org	Thu Apr 18 10:41:10 2013	(r7099)
@@ -24,6 +24,7 @@
 ; 2 an authoritative name server
 ; [RFC1035]
 all.rr.org.		IN	NS		ns1.example.com.
+all.rr.org.		IN	NS		ns2.example.com.
 
 ; MD
 ; 3 a mail destination (Obsolete - use MX)



More information about the Opendnssec-commits mailing list