From 11f1605daacb2992798810aa6b404141319d7fa0 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Wed, 10 Aug 2016 03:02:32 +0100 Subject: [PATCH] gnupg2: update test --- Formula/gnupg2.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Formula/gnupg2.rb b/Formula/gnupg2.rb index 3d28b52081..63ce36e333 100644 --- a/Formula/gnupg2.rb +++ b/Formula/gnupg2.rb @@ -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