quotatool: basic test added

Closes Homebrew/homebrew#37960.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Baptiste Fontaine 2015-03-22 14:27:13 +01:00 committed by Mike McQuaid
parent 4ee4dd858f
commit 79d02d2241

View file

@ -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