summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/rsync.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/rsync.rb')
-rwxr-xr-xlib/custodian/protocol-tests/rsync.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/rsync.rb b/lib/custodian/protocol-tests/rsync.rb
index 53bc32d..d5382bd 100755
--- a/lib/custodian/protocol-tests/rsync.rb
+++ b/lib/custodian/protocol-tests/rsync.rb
@@ -59,7 +59,11 @@ class RSYNCTest
# 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.