summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/test-custodian-util-dns.rb7
-rwxr-xr-xt/test-custodian-util-ping.rb23
2 files changed, 0 insertions, 30 deletions
diff --git a/t/test-custodian-util-dns.rb b/t/test-custodian-util-dns.rb
index c86f937..569fcea 100755
--- a/t/test-custodian-util-dns.rb
+++ b/t/test-custodian-util-dns.rb
@@ -39,13 +39,6 @@ class TestDNSUtil < Test::Unit::TestCase
(details == '80.68.81.80'))
- details = Custodian::Util::DNS.hostname_to_ip('ipv4.steve.org.uk')
- assert(details == '80.68.84.111')
-
- details = Custodian::Util::DNS.hostname_to_ip('ipv6.steve.org.uk')
- assert(details == '2001:41c8:10b:103::111')
-
-
#
# Failure case
#
diff --git a/t/test-custodian-util-ping.rb b/t/test-custodian-util-ping.rb
index bce21ff..99b61c1 100755
--- a/t/test-custodian-util-ping.rb
+++ b/t/test-custodian-util-ping.rb
@@ -60,29 +60,6 @@ class TestPingUtil < Test::Unit::TestCase
#
- # Test IPv4 lookups
- #
- def test_lookup_ipv4
-
- helper = Custodian::Util::Ping.new('ipv4.steve.org.uk')
- assert(helper.is_ipv4?)
- assert(!helper.is_ipv6?)
-
- end
-
-
- #
- # Test IPv6 lookups
- #
- def test_lookup_ipv6
-
- helper = Custodian::Util::Ping.new('ipv6.steve.org.uk')
- assert(helper.is_ipv6?)
- assert(!helper.is_ipv4?)
- end
-
-
- #
# Test lookup of hosts that don't work
#
def test_lookup_fail