diff options
| author | Baptiste Fontaine | 2015-02-28 23:09:11 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-01 13:25:24 +0000 |
| commit | 772b8f9f9f5701b64e69130701213e7aedf4cd3c (patch) | |
| tree | 0edaa4889ab9ad86c190c36efb8c68be33fb1e47 /Library/Formula | |
| parent | 19a08c07dd879eb82cc82ac36f6cc715c5957b4b (diff) | |
| download | homebrew-772b8f9f9f5701b64e69130701213e7aedf4cd3c.tar.bz2 | |
kanif: test added
Closes #37279.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/kanif.rb | 9 |
1 files changed, 6 insertions, 3 deletions
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 |
