lft: add test
We could do a nice network test here but it doesn't work on the CI, so for now we have a bad version test instead. Closes Homebrew/homebrew#45771. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
29ee88178a
commit
2a530b3866
1 changed files with 6 additions and 1 deletions
|
@ -12,7 +12,12 @@ class Lft < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match version.to_s, shell_output("#{bin}/lft -v 2>&1")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue