summaryrefslogtreecommitdiff
path: root/lib/custodian/util
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 20:40:46 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 20:40:46 +0000
commitd9bd7ccb226b80a3758af9a5dad396fb8c719313 (patch)
treea2f4b5275a6ebb0ea17fa61a86c714619f6338ab /lib/custodian/util
parent31c7372fe2fc10e5380820b8b48be8c7ce86d266 (diff)
Removed test/driver-code.
Diffstat (limited to 'lib/custodian/util')
-rw-r--r--lib/custodian/util/dns.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/custodian/util/dns.rb b/lib/custodian/util/dns.rb
index fca3f95..a26cc96 100644
--- a/lib/custodian/util/dns.rb
+++ b/lib/custodian/util/dns.rb
@@ -65,17 +65,3 @@ module Custodian
end
end
-
-
-
-
-if __FILE__ == $0 then
-
- %w( ssh.steve.org.uk ipv6.steve.org.uk ).each do |name|
- puts "Hostname test: #{name} #{Custodian::Util::DNS.hostname_to_ip(name) }"
- end
-
- %w( 80.68.85.46 80.68.85.48 2001:41c8:125:46::22 ).each do |name|
- puts "Hostname test: #{name} #{Custodian::Util::DNS.ip_to_hostname(name) }"
- end
-end