diff options
| -rw-r--r-- | Library/Formula/lftp.rb | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/Library/Formula/lftp.rb b/Library/Formula/lftp.rb index 0b89426f4..1b8664bb5 100644 --- a/Library/Formula/lftp.rb +++ b/Library/Formula/lftp.rb @@ -2,8 +2,8 @@ require "formula"  class Lftp < Formula    homepage "http://lftp.yar.ru/" -  url "http://lftp.yar.ru/ftp/lftp-4.5.5.tar.gz" -  sha1 "4dbef2d6a5bd9c44b5571a71a211b639450e09db" +  url "http://lftp.yar.ru/ftp/lftp-4.6.0.tar.gz" +  sha1 "8bc43080c3c467d1aeb659382d95ef5ac7436504"    bottle do      sha1 "57279f43658740d7e87023047e475892ea0516a2" => :mavericks @@ -21,4 +21,8 @@ class Lftp < Formula                            "--with-openssl=#{Formula["openssl"].opt_prefix}"      system "make", "install"    end + +  test do +    system "#{bin}/lftp", "-c", "open ftp://mirrors.kernel.org; ls" +  end  end | 
