diff options
| author | Xu Cheng | 2014-12-28 21:56:02 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-28 14:18:25 +0000 |
| commit | ca27acb1cb5a64494c44a0e18b198c5b3ae5bb4f (patch) | |
| tree | 5df97fb1383c48b563c0b420548965de1b4c131c /Library/Formula | |
| parent | 8849a36a56c007bf0c046c320b7d700b299e2ae6 (diff) | |
| download | homebrew-ca27acb1cb5a64494c44a0e18b198c5b3ae5bb4f.tar.bz2 | |
gnu-getopt: add test
Closes #35309.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gnu-getopt.rb | 4 |
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 |
