From 470f5eefbefdc109aaf8c0b5d5ea5e86723f9394 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 20 May 2013 16:16:53 +0100 Subject: Fixed the FTP-test to use a regexp not a string match. --- lib/custodian/protocoltest/ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/custodian/protocoltest/ftp.rb b/lib/custodian/protocoltest/ftp.rb index a3b0042..c13a0af 100644 --- a/lib/custodian/protocoltest/ftp.rb +++ b/lib/custodian/protocoltest/ftp.rb @@ -76,7 +76,7 @@ module Custodian # reset the error, in case we were previously executed. @error = nil - run_test_internal( @host, @port, "^220", true ) + run_test_internal( @host, @port, /^220/, true ) end -- cgit v1.2.1