gnupg2: update test
This commit is contained in:
parent
1b7580f67d
commit
11f1605daa
1 changed files with 4 additions and 1 deletions
|
@ -79,6 +79,9 @@ class Gnupg2 < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/gpgconf"
|
||||
Gpg.create_test_key(testpath)
|
||||
(testpath/"test.txt").write "Hello World!"
|
||||
system bin/"gpg", "--armor", "--sign", "test.txt"
|
||||
system bin/"gpg", "--verify", "test.txt.asc"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue