summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/ftp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/ftp.rb')
-rwxr-xr-xlib/custodian/protocol-tests/ftp.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/ftp.rb b/lib/custodian/protocol-tests/ftp.rb
index 686d53d..c528c84 100755
--- a/lib/custodian/protocol-tests/ftp.rb
+++ b/lib/custodian/protocol-tests/ftp.rb
@@ -30,7 +30,6 @@ class FTPTest
@test_data = data
@error = nil
-
#
# Ensure we have a host to probe
#
@@ -62,6 +61,11 @@ class FTPTest
def run_test
#
+ # Reset state from previous test.
+ #
+ @error = nil
+
+ #
# Get the hostname & port to test against.
#
host = @test_data["target_host"]