summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/ssh.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/ssh.rb')
-rwxr-xr-xlib/custodian/protocol-tests/ssh.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/ssh.rb b/lib/custodian/protocol-tests/ssh.rb
index b7c630a..b563aad 100755
--- a/lib/custodian/protocol-tests/ssh.rb
+++ b/lib/custodian/protocol-tests/ssh.rb
@@ -58,7 +58,11 @@ class SSHTest
# If the test fails the details should be retrieved from "error".
#
def run_test
- @error = ""
+
+ #
+ # Reset state from previous test.
+ #
+ @error = nil
#
# Get the hostname & port to test against.