summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/test-protocol-ftp.rb2
-rwxr-xr-xt/test-protocol-smtp.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/t/test-protocol-ftp.rb b/t/test-protocol-ftp.rb
index c3c41ae..d06b7af 100755
--- a/t/test-protocol-ftp.rb
+++ b/t/test-protocol-ftp.rb
@@ -78,7 +78,7 @@ class TestFTPProtocolProbe < Test::Unit::TestCase
#
- # Now create a probe with a missing URL.
+ # Now create a probe with a missing host.
#
assert_raise ArgumentError do
bad = FTPTest.new( test_data_bad_two )
diff --git a/t/test-protocol-smtp.rb b/t/test-protocol-smtp.rb
index 7c3b6fa..01714f8 100755
--- a/t/test-protocol-smtp.rb
+++ b/t/test-protocol-smtp.rb
@@ -34,7 +34,6 @@ class TestSMTPProtocolProbe < Test::Unit::TestCase
"test_type" => "smtp",
"test_port" => 25,
"verbose" => 1,
- "test_port" => 21,
"test_alert" => "SMTP service down",
}
@@ -53,7 +52,6 @@ class TestSMTPProtocolProbe < Test::Unit::TestCase
#
test_data_bad_two = {
"test_type" => "smtp",
- "test_port" => 25,
"verbose" => 1,
"test_port" => 25,
"test_alert" => "SMTP service down",