[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4174 - in trunk/OpenDNSSEC/auditor: lib/kasp_auditor test/signer_test_good test_scripts

Alex Dalitz alexd at nominet.org.uk
Tue Nov 9 10:42:02 CET 2010


Author: alex
Date: 2010-11-09 10:42:02 +0100 (Tue, 09 Nov 2010)
New Revision: 4174

Modified:
   trunk/OpenDNSSEC/auditor/lib/kasp_auditor/auditor.rb
   trunk/OpenDNSSEC/auditor/lib/kasp_auditor/config.rb
   trunk/OpenDNSSEC/auditor/test/signer_test_good/zonelist_nsec.xml
   trunk/OpenDNSSEC/auditor/test_scripts/auditor_test.rb
Log:
Downcase configured zone name - pivotal 5975317

Modified: trunk/OpenDNSSEC/auditor/lib/kasp_auditor/auditor.rb
===================================================================
--- trunk/OpenDNSSEC/auditor/lib/kasp_auditor/auditor.rb	2010-11-09 08:45:37 UTC (rev 4173)
+++ trunk/OpenDNSSEC/auditor/lib/kasp_auditor/auditor.rb	2010-11-09 09:42:02 UTC (rev 4174)
@@ -1199,7 +1199,7 @@
                 end
                 # Now check the NSEC3 types_covered against the types ACTUALLY at the name
                 if (types_types != nsec3_types)
-                  # @TODO@ Let's just check that we haven't misidentified an empty nonterminal...
+                  # Let's just check that we haven't misidentified an empty nonterminal...
                   old_types_name = types_name
                   old_types_name_unhashed = types_name_unhashed
                   old_types_types = types_types

Modified: trunk/OpenDNSSEC/auditor/lib/kasp_auditor/config.rb
===================================================================
--- trunk/OpenDNSSEC/auditor/lib/kasp_auditor/config.rb	2010-11-09 08:45:37 UTC (rev 4173)
+++ trunk/OpenDNSSEC/auditor/lib/kasp_auditor/config.rb	2010-11-09 09:42:02 UTC (rev 4174)
@@ -43,7 +43,7 @@
       #      @zones = []
       #      print "Opening config file : #{config_file_loc}\n"
       # Read the kasp.xml file
-      @name = (zone_name.to_s+"").untaint
+      @name = (zone_name.downcase+"").untaint
       @err = 0
       @partial_audit = false
       begin

Modified: trunk/OpenDNSSEC/auditor/test/signer_test_good/zonelist_nsec.xml
===================================================================
--- trunk/OpenDNSSEC/auditor/test/signer_test_good/zonelist_nsec.xml	2010-11-09 08:45:37 UTC (rev 4173)
+++ trunk/OpenDNSSEC/auditor/test/signer_test_good/zonelist_nsec.xml	2010-11-09 09:42:02 UTC (rev 4174)
@@ -1,5 +1,5 @@
 <ZoneList>
-	<Zone name="tjeb.nl">
+	<Zone name="TJeb.nl">
 		<Policy>default</Policy>
 		<SignerConfiguration>zone_config/tjeb.nl.xml.nsec</SignerConfiguration>
 		<Adapters>

Modified: trunk/OpenDNSSEC/auditor/test_scripts/auditor_test.rb
===================================================================
--- trunk/OpenDNSSEC/auditor/test_scripts/auditor_test.rb	2010-11-09 08:45:37 UTC (rev 4173)
+++ trunk/OpenDNSSEC/auditor/test_scripts/auditor_test.rb	2010-11-09 09:42:02 UTC (rev 4174)
@@ -345,8 +345,8 @@
     #    end
     if (add_default_msg)
       expected_strings.push("Auditor started")
-      expected_strings.push("Auditor starting on tjeb.nl")
-      expected_strings.push("Auditing tjeb.nl zone :")
+      expected_strings.push("Auditor starting on")
+      expected_strings.push("Auditing")
       expected_strings.push("Finished auditing tjeb.nl zone")
     end
     remaining_strings.reverse.each {|line|




More information about the Opendnssec-commits mailing list