gnupg2: update test

This commit is contained in:
Dominyk Tiller 2016-08-10 03:02:32 +01:00
parent 1b7580f67d
commit 11f1605daa

View file

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