summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-07-18 12:17:05 +0300
committerSteve Kemp <steve@steve.org.uk>2016-07-18 12:17:05 +0300
commit7be828224637af7cdfdb43c000c8d401740abd4f (patch)
treedb940d47bfddc26baa8c3d63eba3e65e045fefad
parentf8d1c4d00eed366c3d95b408258ce4ab80663dea (diff)
Remove outdated tests.
-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