pinentry-mac: add test
parent
17faa222be
commit
e4b279ed79
|
@ -1,13 +1,10 @@
|
|||
class PinentryMac < Formula
|
||||
desc "Pinentry for GPG on Mac"
|
||||
homepage "https://github.com/GPGTools/pinentry-mac"
|
||||
url "https://github.com/GPGTools/pinentry-mac/archive/v0.9.4.tar.gz"
|
||||
sha256 "037ebb010377d3a3879ae2a832cefc4513f5c397d7d887d7b86b4e5d9a628271"
|
||||
head "https://github.com/GPGTools/pinentry-mac.git"
|
||||
|
||||
stable do
|
||||
url "https://github.com/GPGTools/pinentry-mac/archive/v0.9.4.tar.gz"
|
||||
sha256 "037ebb010377d3a3879ae2a832cefc4513f5c397d7d887d7b86b4e5d9a628271"
|
||||
end
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
sha256 "3da6a88abbd4bb04eb2455d8e6998f4fc4db77c3f765d52b7eadf364e82aeaa7" => :sierra
|
||||
|
@ -32,4 +29,8 @@ class PinentryMac < Formula
|
|||
pinentry-program #{HOMEBREW_PREFIX}/bin/pinentry-mac
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match version.to_s, shell_output("#{bin}/pinentry-mac --version")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue