From 772b8f9f9f5701b64e69130701213e7aedf4cd3c Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sat, 28 Feb 2015 23:09:11 +0100 Subject: kanif: test added Closes #37279. Signed-off-by: Mike McQuaid --- Library/Formula/kanif.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/kanif.rb b/Library/Formula/kanif.rb index 767ad0398..6cc9f1177 100644 --- a/Library/Formula/kanif.rb +++ b/Library/Formula/kanif.rb @@ -1,11 +1,9 @@ -require "formula" - class Kanif < Formula homepage "http://taktuk.gforge.inria.fr/kanif/" url "http://gforge.inria.fr/frs/download.php/26773/kanif-1.2.2.tar.gz" sha1 "7a10fe0e74159875f004b6c4a12a0202ff092ce9" - depends_on "taktuk" + depends_on "taktuk" => :run def install system "./configure", "--disable-debug", @@ -14,4 +12,9 @@ class Kanif < Formula "--prefix=#{prefix}" system "make", "install" end + + test do + assert_match "taktuk -s -c 'ssh' -l brew", + shell_output("#{bin}/kash -q -l brew -r ssh") + end end -- cgit v1.2.3