aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gnu-getopt.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/gnu-getopt.rb b/Library/Formula/gnu-getopt.rb
index 9c50eb3e1..e734cde42 100644
--- a/Library/Formula/gnu-getopt.rb
+++ b/Library/Formula/gnu-getopt.rb
@@ -22,4 +22,8 @@ class GnuGetopt < Formula
end
system "make", "prefix=#{prefix}", "mandir=#{man}", "install"
end
+
+ test do
+ system "#{bin}/getopt", "-o", "--test"
+ end
end