Skip to content

Commit

Permalink
[email protected]: Add perfunctory test
Browse files Browse the repository at this point in the history
  • Loading branch information
cathyjf committed Dec 14, 2023
1 parent 22a683d commit 51380a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ class GnupgAT120 < Formula

def install
ENV.append_to_cflags "-std=c89"
system "./configure", *std_configure_args, "--disable-silent-rules"
system "./configure", *std_configure_args, "--disable-silent-rules",
"--mandir=#{man}", "--infodir=#{info}"
system "make", "install"
end

test do
# TODO: Add a test.
assert_match(/.*gpg \(GnuPG\) 1\.2\.0.*/m, shell_output("#{bin}/gpg --homedir . --version"))
end
end

0 comments on commit 51380a9

Please sign in to comment.