From ab7608cb2cc4d0a63f6da531eab64843726c0da3 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Tue, 17 Mar 2015 17:32:51 +0100 Subject: ncftp: test added Closes #37800. Signed-off-by: Mike McQuaid --- Library/Formula/ncftp.rb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Library') diff --git a/Library/Formula/ncftp.rb b/Library/Formula/ncftp.rb index 8b8b3e88e..ca3ed7a3f 100644 --- a/Library/Formula/ncftp.rb +++ b/Library/Formula/ncftp.rb @@ -1,9 +1,7 @@ -require 'formula' - class Ncftp < Formula - homepage 'http://www.ncftp.com' - url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.5-src.tar.gz' - sha1 'b1aafd9291e29c336fcad07ae212fe1b5b2a1c58' + homepage "http://www.ncftp.com" + url "ftp://ftp.ncftp.com/ncftp/ncftp-3.2.5-src.tar.gz" + sha256 "ac111b71112382853b2835c42ebe7bd59acb7f85dd00d44b2c19fbd074a436c4" def install # "disable universal" doesn't seem to work. @@ -16,6 +14,10 @@ class Ncftp < Formula "--prefix=#{prefix}", "--mandir=#{man}" system "make" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/ncftp", "-F" end end -- cgit v1.2.3