diff options
| author | Baptiste Fontaine | 2015-03-22 14:27:13 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-22 14:51:58 +0000 |
| commit | d252c8cff277b1ab20bdf7028a535a1061509ed5 (patch) | |
| tree | f3856d8d9c696400a55b2477444a0e9c76aff8eb /Library | |
| parent | 860024401983717554e54442b05958d1b3bc4a2c (diff) | |
| download | homebrew-d252c8cff277b1ab20bdf7028a535a1061509ed5.tar.bz2 | |
quotatool: basic test added
Closes #37960.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/quotatool.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/quotatool.rb b/Library/Formula/quotatool.rb index 13efe09f1..7560ffd86 100644 --- a/Library/Formula/quotatool.rb +++ b/Library/Formula/quotatool.rb @@ -1,14 +1,16 @@ -require 'formula' - class Quotatool < Formula - homepage 'http://quotatool.ekenberg.se' - url 'http://quotatool.ekenberg.se/quotatool-1.6.2.tar.gz' - sha1 '632f8f470530928c57912eb95dfa540c55599c18' + homepage "http://quotatool.ekenberg.se" + url "http://quotatool.ekenberg.se/quotatool-1.6.2.tar.gz" + sha256 "e53adc480d54ae873d160dc0e88d78095f95d9131e528749fd982245513ea090" def install system "./configure", "--prefix=#{prefix}" sbin.mkpath man8.mkpath - system "make install" + system "make", "install" + end + + test do + system "#{sbin}/quotatool", "-V" end end |
