darkstat: fix test

This commit is contained in:
Jack Nagel 2013-03-25 13:34:46 -05:00
parent 0eb8f86eac
commit 0ef8b8d49d

View file

@ -1,6 +1,5 @@
require 'formula'
class Darkstat < Formula
homepage 'http://unix4lyfe.org/darkstat/'
url 'http://unix4lyfe.org/darkstat/darkstat-3.0.715.tar.bz2'
@ -11,7 +10,7 @@ class Darkstat < Formula
system "make install"
end
def test
system "#{sbin}/darkstat --version"
test do
system "#{sbin}/darkstat", "--version"
end
end