pinentry-mac: add test

master
Dominyk Tiller 2017-04-06 14:42:03 +01:00 committed by FX Coudert
parent 17faa222be
commit e4b279ed79
1 changed files with 6 additions and 5 deletions

View File

@ -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