kanif: test added
Closes Homebrew/homebrew#37279. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
2abe84bcd3
commit
5846a479f9
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue